Article View: comp.sys.sgi.admin
Article #23Help on cpio: how to read backup tapes with cpio command?
From: Rafique Mahmood
Date: Wed, 16 Dec 1992 19:26
Date: Wed, 16 Dec 1992 19:26
26 lines
1630 bytes
1630 bytes
We are doing backup remotely with cpio command. Our tape drive is with machine 'peach'. We do backup of machine 'backup_machine'. We have scripts to do it. We have many systems but backup is done from one central machine. I don't understand shell script yet (working on it). It is very complecated. When I was running the bacup I got the process listing which shows : backup 22545 22544 0 11:53:41 ? 0:00 rsh peach -l tape dd conv=block obs=5120 of=/dev/nrst1 backup 22551 22545 35 11:53:41 ? 2:39 rsh peach -l tape dd conv=block obs=5120 of=/dev/nrst1 backup 22547 22545 18 11:53:41 ? 1:57 cpio -o backup 22548 22546 0 11:53:41 ? 0:07 find /etc/aliases /etc/cshrc /etc/group /etc/hosts /etc/init.d /etc/motd /e and some other which is our scripts. Now, within a day or two I need to write a program which will make a listing of the backup tapes. I looked at the cpio manuals but did not know what to do. If any one can help me on this I will appreciate it very much. I use tar all the time but this is different. I loged in to 'peach' and tried 'cpio -tBi /dev/nrst1', it didnot work. Thanks for any info. Rafique, email: mahmood@lambda.msfc.nasa.gov
Technical Details
Message-ID:
<1992Dec16.192634.19294@lambda.msfc.nasa.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!lambda.msfc.nasa.gov!mahmoodShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.sgi.admin,comp.sys.sun.admin Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!lambda.msfc.nasa.gov!mahmood From: mahmood@lambda.msfc.nasa.gov (Rafique Mahmood) Subject: Help on cpio: how to read backup tapes with cpio command? Message-ID: <1992Dec16.192634.19294@lambda.msfc.nasa.gov> Keywords: cpio help Organization: NASA/MSFC Date: Wed, 16 Dec 1992 19:26:34 GMT Lines: 27