book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!







how to use cpio list tape file mark no rewind


What is this stuff?

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.


Hate these ads?




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)

Or use any RSS reader

Delivered by FeedBurner


ad

Views for this page
Today This Week This Month This Year  Overall
5132020 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.

Publishing your articles here

More:
       - Newsgroup




Unix/Linux Consultants


http://echo3.net/ Unix/Linux Custom Applications, Web Hosting, C/C++ Programming Courses


http://bcstechnology.net Full service Linux & UNIX systems integrator; Windows to UNIX/Linux Client-Server Specialist; Secure E-Mail & Website Hosting; Thoroughbred Software Developer; Custom Industrial Automation; Hardware & Electronics Experts; In Business Since 1985.


UBB Computer Services Support for Openserver, Unixware and Linux. Windows integration with Unix/Linux servers. Hardware, Backup and Networking issues. Located near Sacramento CA, we provide onsite support throughout Northern CA and Nationwide via remote access. We are a SCO Authorized Partner and a Microlite BackupEdge Certified Reseller.



Twitter
o Unix? A cruel mistress who cares not for her minions 6:60 PM Jan 7 2009




card_image







Change Congress