If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
>
> I have taken the full backup of our sco unix ver 4.2 rel 3.2 server files
> on to a 4/8GB hp tape using the following command
>
> "find . -print | cpio -ocvB -O /dev/nrStp1"
>
> it backuped the files on to the tape(i feel so)
>
> Now i want an listing of the files inside the tape being backed up.
>
> I usually use the tar command which i am comfortable with. But since the
> total file size was more than 2GB i used the cpio command. Now please help
> me in getting the contents of the tape & to ensure that the command has
> worked.
>
> I will be very grateful to you.
You should read the man page for cpio- it gives many examples.
First, you are using the "no rewind" device. You shouldn't be doing that
unless you are making multiple backups to the same type. Ordinarily you
would use
"find . -print | cpio -ocvB -O /dev/rStp1"
To list a cpio volume:
If you AREN'T using nrStp1:
cpio -itv </dev/rStp1
If you are doing multiple sets:
tape rewind
tape -a rfm x (where x is the number of filemarks to skip- see "man tape")
cpio -itv </dev/nrStp1
--
Tony Lawrence (tony@aplawrence.com)
SCO/Linux articles, help, book reviews, tests,
job listings and more :
Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)
| Views for this page | ||||
|---|---|---|---|---|
| Today | This Week | This Month | This Year | Overall |
| 5 | 13 | 20 | 20 | 4,120 |
/Bofcusm/647.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Click here to add your comments