From owner-freebsd-questions@FreeBSD.ORG Wed Nov 19 18:28:37 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 5525D16A4CE for ; Wed, 19 Nov 2003 18:28:37 -0800 (PST) Received: from web12008.mail.yahoo.com (web12008.mail.yahoo.com [216.136.172.216]) by mx1.FreeBSD.org (Postfix) with SMTP id 99AD543FE1 for ; Wed, 19 Nov 2003 18:28:36 -0800 (PST) (envelope-from bsd2000au@yahoo.com.au) Message-ID: <20031120022835.43690.qmail@web12008.mail.yahoo.com> Received: from [202.45.107.1] by web12008.mail.yahoo.com via HTTP; Thu, 20 Nov 2003 13:28:35 EST Date: Thu, 20 Nov 2003 13:28:35 +1100 (EST) From: =?iso-8859-1?q?Keith=20Spencer?= To: Ruben de Groot , freebsd-questions@freebsd.org In-Reply-To: <20031119154354.GA39475@ei.bzerk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: Keith Spencer Subject: Re: Can I bakup like this...?? <--user mode Reuben? 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: Thu, 20 Nov 2003 02:28:37 -0000 Hi all, thanks to all replying. I just spent many hours finding out my bakup strategy was useless (didn't know what I was doing I guess) Now I need to do it properly. Ruben (and others) Can I do the tarring of filesystems in a cron job without being in single user mode? I just followed a mostgraveconcern tute to move to a larger drive and it worked well. Lots of tarring etc BUT...all done in single user mode. I imagine I cant do THAT and reboot etc etc in a cron job. I am going to try Ruben's idea and allay concerns by having a removable 2nd harddrive so I can do this > once to take a drive off site So comments? Is dump easier (for a dill like me) to use or whatever? What say you Thanks Keith --- Ruben de Groot wrote: > On Wed, Nov 19, 2003 at 09:43:30AM -0500, Lowell > Gilbert typed: > > Keith Spencer writes: > > [...] > > > > a) Throw another drive in the box > > > b) Createthe same or at least minimum size > partitions > > > as the active drive > > > c) Cron job to "dump" or tar or ??? the > partitions > > > > dd(1) is the easiest way to make sure that the > disk will work just > > like the other one. It requires a > same-size-or-larger second disk. > > I consider dd a very lousy backup method. Any writes > to the first disk > while dd is running will likely result in corrupted > filesystems on the > second disk. Performance is bad as well, since dd > will copy every single > bit, not just actual data. > > A better approach would be to follow a) and b) > above, newfs(8) the > partitions, make the second drive bootable using > boot0cfg(8) and then > periodically use dump/restore, tar, pax, cpio or > even rsync to backup > your first to second disk (I've used them all and > can't really > recommend one over the other so suit yourself). > > Ruben > http://personals.yahoo.com.au - Yahoo! Personals New people, new possibilities. FREE for a limited time.