home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sgi / admin / 30 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  1.6 KB

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