home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sgi.admin:30 comp.sys.sun.admin:9500
- Newsgroups: comp.sys.sgi.admin,comp.sys.sun.admin
- Path: 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
-
- 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
-
-