From owner-freebsd-questions@FreeBSD.ORG Tue Nov 22 15:35:27 2005 Return-Path: X-Original-To: questions@freebsd.org 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 24A2916A41F for ; Tue, 22 Nov 2005 15:35:27 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E042943D9E for ; Tue, 22 Nov 2005 15:33:45 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.10+Sun/8.12.2) with ESMTP id jAMFX638007842; Tue, 22 Nov 2005 10:33:06 -0500 (EST) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.10+Sun/8.12.2/Submit) id jAMFX6Iv007841; Tue, 22 Nov 2005 10:33:06 -0500 (EST) From: Jerry McAllister Message-Id: <200511221533.jAMFX6Iv007841@clunix.cl.msu.edu> To: jnatola@familycareintl.org (Jean-Paul Natola) Date: Tue, 22 Nov 2005 10:33:06 -0500 (EST) In-Reply-To: <3A85D7EF44E1C744BF6434691F5659E9622EE5@fci-ex.FCI> X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Dump Help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2005 15:35:27 -0000 > > As you all can tell by now I'm new to this, and I'm avidly reading through > my AbsoluteBsd book. > > I don't really save any data to the BSD box just logs, I use it for scanning > email (Exim, ClamAV, SA) > > My goal is to backup the file/files/partitions so that if the box blew up , > I can just grab a new box install bsd , then restore it. Well, if you are going to reinstall FreeBSD - from a CD and FTP? - then all you really need to back up are the working files you want to recover. If all you want are logs, most of those are in /var/log unless you have told it to put things elsewhere or have created some special logging utility. So, you might get by with just dumping /var. But, since you have the bulk of your space in /usr, I think maybe you are putting some useful stuff in there. So, you figure out where your valuable stuff is and back up those filesystems. ////jerry > > > > -----Original Message----- > From: Jerry McAllister [mailto:jerrymc@clunix.cl.msu.edu] > Sent: Tuesday, November 22, 2005 10:08 AM > To: Jean-Paul Natola > Cc: questions@freebsd.org > Subject: Re: Dump Help > > > > > Hi all, > > > > I'm trying to utilize dump to copy the entire disc to a network drive , so > > that in the event of hardware failure I can just restore to a new machine > > > > Here's the output of df > > Filesystem Size Used Avail Capacity Mounted on > > /dev/ad0s1a 248M 35M 193M 15% / > > devfs 1.0K 1.0K 0B 100% /dev > > /dev/ad0s1e 248M 12K 228M 0% /tmp > > /dev/ad0s1f 4.9G 651M 3.8G 14% /usr > > /dev/ad0s1d 248M 59M 169M 26% /var > > devfs 1.0K 1.0K 0B 100% /var/named/dev > > total 5.6G 745M 4.4G 14% > > > > here's the command I ran > > > > dump / -0aL -f /usr/home/H/bsd_bkp/1116 / > > > > it runs well it says dump complete > > > > but my file only turns out to be 37,314,560 bytes > > > > what am I missing , Ideally I would like ( I think I would at least) the > > WHOLE disk to be backed up.... > > The dump utility backs up by file system, not by drive. > You told it to back up the '/' file system and it apparently did. > (That was that final '/' in your command line. I don't think > the first '/' belongs there unless it is something odd that I > have been missing - so I think the command should read: > dump -0aLf /usr/home/H/bsd_bkp/1116 / > that is if '/usr/home/H/bsd_bkp/1116' is really the correct > place to write the dump file)_ > > You then may also want to run dump for /usr and /var. That would > get the rest of the drive that is meaningful. > You probably don't want to bother with /tmp though you could. > > ////jerry > > > > > Freebsd 5.4 > > > > > > > > > > > > > > Jean-Paul Natola > > Network Administrator > > Information Technology > > Family Care International > > 588 Broadway Suite 503 > > New York, NY 10012 > > Phone:212-941-5300 xt 36 > > Fax: 212-941-5563 > > Mailto: Jnatola@Familycareintl.org > > _______________________________________________ > > 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" > > > > > > _______________________________________________ > 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" > >