Subject: Re: Tape Backups -- tar vs. dump
To: John Maier <jmaier@midamerica.net>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-users
Date: 01/03/2001 07:26:14
"John Maier" wrote:
> Yeouch!
> dump didn't like the multipule mount points:
> > dump -0u -L `date '+%m/%d/%G'` -B 20000000000 / /usr /var
> Excess arguments to dump: /usr /var
Use separate dumps for each filesystem. You might also get better speed
by using a larger blocking factor. Something like:
dump 0ubBf 64 20000000000 /dev/nrst0 /
dump 0ubBf 64 20000000000 /dev/nrst0 /usr
dump 0ubBf 64 20000000000 /dev/nrst0 /var
That says use 64k per block and /dev/nrst0 is the *n*on-rewinding tape
device. Also, the date of the dump is stored in the header so you
don't need to explicitly add it yourself.
Oh, and dump doesn't do compression itself. Depending on the tape
drive, it might do compression for you. Otherwise, you could have a
look at amanda (in pkgsrc under sysutils/amanda). Amanda has some other
neat features that might make it useful to look at anyways...
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD CDs, Support and Service: http://www.wasabisystems.com/