home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / next / sysadmin / 7086 < prev    next >
Encoding:
Text File  |  1992-12-16  |  2.5 KB  |  58 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!uniol!proximus!gemoe
  3. From: gemoe@proximus.north.de (Gerhard Moeller)
  4. Subject: Re: tape backups
  5. Message-ID: <1992Dec16.075155.10452@proximus.north.de>
  6. Sender: gemoe@proximus.north.de
  7. Organization: Gerhard Moeller, German NeXT User Group, Oldenburg.
  8. References: <1992Dec14.212622.28856@midway.uchicago.edu>
  9. Date: Wed, 16 Dec 1992 07:51:55 GMT
  10. Lines: 46
  11.  
  12. In article <1992Dec14.212622.28856@midway.uchicago.edu>  
  13. cpl1@kimbark.uchicago.edu (Corey Liss) writes:
  14. > We've had some problems making tape backups of our NeXT server and
  15. > user directories using 'dump' and 'restore' (under 3.0)...  Essentially,
  16. > 'restore' seems unable to read data 'dump'ed to tape, although it *can*
  17. > read data 'dump'ed to disk...  'tar' seems to work all right (but, of course,
  18. > you can't do an incremental 'tar'...).  Has anyone else run into this  
  19. problem?
  20. > Any suggestions?
  21.  
  22. Actually you can do incremental tar/cpio/afio backups. Even much
  23. better than with dump (IMHO - but I don't like dump anyhow, as many
  24. people might know) 
  25.  
  26. Include in a script lines like:
  27.  
  28. cd /
  29. find . -newer /usr/adm/LASTBACKUP.TIMESTAMP -print | \
  30. tee /tmp/files | \
  31. sed -f '/usr/local/adm/stopWords.backup' >> /tmp/copyTheseFiles
  32.  
  33. This writes all files of the path (here /) that are newer than the file
  34. /usr/adm/LASTBACKUP.TIMESTAMP (which gets touched after a
  35. successful backup) in a file and then (this dump can't do) excludes a
  36. list of stopwords. (for example, I don't really want to backup my
  37. swapfile and (all of) spool and tmp directories.) Finally this list
  38. gets piped to afio (which is a better cpio): 
  39.  
  40. (cat /tmp/copyTheseFiles | \
  41. /usr/local/bin/afio -ovuz -b126b -s150m /dev/rst0 | \
  42. tee "/dev/"$tty ) >>& /usr/adm/backup.log
  43.  
  44. Okay, this line is a rather bad hack (it is running in tcsh - I should
  45. rewrite the program for sh!!!! But no time and not the mood... ;-) ) 
  46.  
  47.     We have joy, we have fun,
  48.     we have Pacman for the sun...
  49.         
  50. Ciao, Gerhard.
  51. --
  52. +---------------------------< principiis obsta! >---------------------------+
  53. N  Gerhard Moeller, Teichstrasse 12, 2900 Oldenburg (FRG) [*: 02/21/1968]   N
  54. e  Private: gemoe@proximus.north.de          Phone (voice): +49-441-75520   e
  55. X  Uni:     Gerhard.Moeller@arbi.Informatik.Uni-Oldenburg.DE      NeXTmail  X
  56. T  Z-Net:   Gerhard.Moeller@uniol.zer                          encouraged!  T
  57. +-> NoGeNUG - Northern German NeXT User Group:  NoGeNUG@proximus.north.DE <-+
  58.