Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cpio - Tapes not labelled! Date archive created?

Status
Not open for further replies.

asteeves

Technical User
Jul 16, 2000
2
CA
I am using the following command to create my backup:
find ./home -print | cpio -ocB> /dev/rStp0

Some of my tapes are not labelled properly. Is there a command or switch I can use to determine the date the backup was created?

Any help would be greatly appreciated!

A:-(
 
I suggest that you create a small shell script such as :-

< /dev/nrStp0
echo &quot;Backup dated `date` &quot; > /tmp/LABEL
find /tmp/LABEL -print | cpio -ovcC65536 -O /dev/nrStp0
find ./home -print | cpio -ovcC65536 -O /dev/rStp0


This will then allow you to read the first tape archive and retrieve the file /tmp/LABEL.

Hope this is of use.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top