From owner-freebsd-questions@FreeBSD.ORG Fri Sep 29 23:32:13 2006 Return-Path: X-Original-To: freebsd-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 19B0116A403 for ; Fri, 29 Sep 2006 23:32:13 +0000 (UTC) (envelope-from dwiest@vailsys.com) Received: from dprobd02.vailsys.com (dprobd02.vailsys.com [63.149.73.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9328943D7B for ; Fri, 29 Sep 2006 23:32:00 +0000 (GMT) (envelope-from dwiest@vailsys.com) Received: from dfsfbd06.vail (dfsfbd06.vail [192.168.129.190]) by dprobd02.vailsys.com (Postfix) with ESMTP id 17E798A5C59; Fri, 29 Sep 2006 18:32:00 -0500 (CDT) Received: from dfwdamian.vail (dfwdamian.vail [192.168.129.233]) by dfsfbd06.vail (Postfix) with ESMTP id E7BF5323EA0; Fri, 29 Sep 2006 18:31:59 -0500 (CDT) Received: from dfwdamian.vail (dwiest@localhost.vail [127.0.0.1]) by dfwdamian.vail (8.13.4/8.13.4) with ESMTP id k8TNA4GV005763; Fri, 29 Sep 2006 18:10:04 -0500 (CDT) Received: (from dwiest@localhost) by dfwdamian.vail (8.13.4/8.13.4/Submit) id k8TNA4oK009759; Fri, 29 Sep 2006 18:10:04 -0500 (CDT) X-Authentication-Warning: dfwdamian.vail: dwiest set sender to dwiest@vailsys.com using -f Date: Fri, 29 Sep 2006 18:10:04 -0500 From: Damian Wiest To: Dino Vliet Message-ID: <20060929231004.GH3332@dfwdamian.vail> References: <20060929220853.38048.qmail@web51114.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060929220853.38048.qmail@web51114.mail.yahoo.com> User-Agent: Mutt/1.4.2i Cc: freebsd-questions@freebsd.org Subject: Re: backup existing sata drive 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: Fri, 29 Sep 2006 23:32:13 -0000 On Fri, Sep 29, 2006 at 03:08:53PM -0700, Dino Vliet wrote: > Good evening peeps, > I have this 80gb sata seagate harddisk in my freebsd > amd64 system. This harddisk is partioned so I can dual > boot with Ubuntu. So I have data on my freebsd > partition as well as on my ubuntu partition. > > As I'm getting paranoia, I would like to know how to > get by this situation, now that I've ordered a new > sata seagate 80gb harddrive. > > I waant to use this extra drive as a backup solution. > What options do I have? Do you want to do real backups, or just do point in time recovery? > a) Can I just plug the new hard drive in and write a > script that dumps the entire /usr/ directory onto the > new hard drive? But what about my ubuntu partition > then? If you go this route, you'll probably want to use dump(8) for your filesystems. Just name the output file according to the filesystem and date when the dump was performed. > b) Should I use raid-1, disk mirroring for this > situation, knowing I will "loose" a whole 80gb disk? > Will it work for the entire disk? What about the fact > that I'm NOT starting with two empty disks? > > Hope anyone can help me out. > I've never been there, so these will be my first > steps. > > Thanks in advanced I've only used it for a few months, but I'm a big fan of the GEOM(4) framework. With gmirror(8), you can specify specific disk slices to mirror so you don't have to do the entire drive. It should take you less than five minutes to setup once you've read the docs. -Damian