From owner-freebsd-questions@FreeBSD.ORG Wed Sep 30 11:18:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A25071065670 for ; Wed, 30 Sep 2009 11:18:47 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 5F2B18FC28 for ; Wed, 30 Sep 2009 11:18:47 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n8UBIiMA047360; Wed, 30 Sep 2009 05:18:44 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n8UBIib4047357; Wed, 30 Sep 2009 05:18:44 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 30 Sep 2009 05:18:44 -0600 (MDT) From: Warren Block To: Polytropon In-Reply-To: <20090930055735.d95f173f.freebsd@edvax.de> Message-ID: References: <4AC29BE6.4000505@videotron.ca> <4AC2B3BB.4080807@videotron.ca> <20090930040733.91cc32d4.freebsd@edvax.de> <4AC2C6FE.5030507@videotron.ca> <20090930051819.be26dc3b.freebsd@edvax.de> <20090930055735.d95f173f.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Wed, 30 Sep 2009 05:18:44 -0600 (MDT) Cc: PJ , freebsd-questions@freebsd.org Subject: Re: backups & cloning 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: Wed, 30 Sep 2009 11:18:47 -0000 On Wed, 30 Sep 2009, Polytropon wrote: > On Tue, 29 Sep 2009 21:49:01 -0600 (MDT), Warren Block wrote: >> So usually I back up /, /var, and /usr to files >> on a USB disk or sshfs. Then I switch to the new target system, booting >> it with a FreeBSD disk and doing a minimal install. That makes sure the >> MBR is installed, gives me a chance to set all the filesystem sizes, and >> newfses them. > > Similar here. In most cases, the FreeBSD live system is completely > sufficient: run sysinstall, slice, boot loader, partitions, drop > to shell; mount USB stick, restore from files located there. > >> Then I restore from the dump files created earlier, over the running >> system. First /usr, then /var, then /. On reboot, it's a clone. > > This means you bring up the minimal (installed) system first, then > do the restore? Why not do it right after the basic steps of > preparation right from the install CD? Probably mostly inertia, but I also like that it makes certain everything has been done to make a complete bootable system. Seems like when I do it manually, CRS syndrome kicks in and I forget a step which ends up taking more time. -Warren Block * Rapid City, South Dakota USA