Backup utilities for ix-386

Norman Kohn nvk at ddsw1.MCS.COM
Thu Oct 19 13:17:46 AEST 1989


In article <107 at gizzmo.UUCP> mark at gizzmo.UUCP (mark hilliard) writes:
>I personally like to use find piped to cpio and out to tape like:
>
>find /partition -print | cpio -ocduBvm > /dev/tape&

I use a similar scheme, in a complicated shell script designed to
prevent me from messing anything up.  I'm using Bell Tech tape
with a device "/dev/tpnr" that writes but does not rewind
at the end, so that a second volume can be written.

I back up each file system individually (otherwise, the
tape may overflow and restore is difficult because the tapes
have too much data to scan efficiently).  Make file names
relative, so you can restore elsewhere in the tree (without
using chroot).  I write a short label volume in front of each
backup volume.  stream (from bell tech) or strm (if it's still
in Unix V) will immensely speed up tape speed. uport had a
bug fix requiring a specific tuning parameter for strm to work,
but I can't comment since I use bell's stream.

Finally: make sure that your script scans the tape (cpio -ivt)
for integrity lest you get a very rude surprise.

Oh, yes. DO NOT try to do your restores interactively. USE A SHELL
SCRIPT, lest you inadvertently, in your zeal to recover your precious
files, accidentally write instead of reading the tape.  (After all,
you're more used to writing it, aren't you?

-- 
Norman Kohn   		| ...ddsw1!nvk
Chicago, Il.		| days/ans svc: (312) 650-6840
			| eves: (312) 373-0564



More information about the Comp.unix.i386 mailing list