From owner-freebsd-questions@FreeBSD.ORG Sun Oct 26 15:32:21 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB88616A4B3 for ; Sun, 26 Oct 2003 15:32:21 -0800 (PST) Received: from mail.whatistruth.net (h-66-166-44-252.STTNWAHO.covad.net [66.166.44.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id F22E043FBF for ; Sun, 26 Oct 2003 15:32:20 -0800 (PST) (envelope-from odyseus00@whatistruth.net) Received: from whatistruth.net (unknown [192.168.1.2]) by mail.whatistruth.net (Postfix) with ESMTP id 4DCB45B2 for ; Sun, 26 Oct 2003 15:32:20 -0800 (PST) Message-ID: <3F9C5984.8000605@whatistruth.net> Date: Sun, 26 Oct 2003 15:32:20 -0800 From: DavidB User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <3718.216.100.130.19.1067208773.squirrel@ns1.valuedj.com> In-Reply-To: <3718.216.100.130.19.1067208773.squirrel@ns1.valuedj.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: System Backup help. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2003 23:32:22 -0000 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