Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Oct 2003 15:32:20 -0800
From:      DavidB <odyseus00@whatistruth.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: System Backup help.
Message-ID:  <3F9C5984.8000605@whatistruth.net>
In-Reply-To: <3718.216.100.130.19.1067208773.squirrel@ns1.valuedj.com>
References:  <3718.216.100.130.19.1067208773.squirrel@ns1.valuedj.com>

next in thread | previous in thread | raw e-mail | index | archive | help
whizkid@ValueDJ.com wrote:
> I have been running BSD for a week or so now.  I have everything setup
> just right, Webmail, DNS, IMAP, Webserver, etc....
> 
> I just install a DDS-2 tape drive, I have been reading about using dump
> for backing up filesystems.  How can I use dump to backup the entire
> drive?  If I try using:
> 
> dump 0 -A ad0
> 
> it fails.. do I have to run dump on each slice?  I plan on setting up a
> chron job that runs every night to do a incremental backup, then a full
> backup at the end of the week.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 

Have you read the manpage?

dump works by filesystem.
If you not sure what that is then use df it will show you a listing of 
Filesystems and their disk consumption. Or look at your /etc/fstab

this an example of what I use:

/sbin/dump -0au -f /dev/nsa0 /usr

/dev/nsa0 will need to be whatever your device is and if you are going 
to dump more than one thing to the tape in sequence then use the device 
node that is non-rewinding i.e. /dev/sa0 is scsi tape device /dev/nsa0 
is non-rewinding.

you also need to use mt  if you write more than one thing to the tape to 
  position the tape head to where you want to be.  I suggest man mt for 
more info about that



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F9C5984.8000605>