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