From owner-freebsd-questions@FreeBSD.ORG Wed Sep 30 03:57:37 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 BA3FA106568D for ; Wed, 30 Sep 2009 03:57:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 747728FC23 for ; Wed, 30 Sep 2009 03:57:37 +0000 (UTC) Received: from r55.edvax.de (port-92-195-71-245.dynamic.qsc.de [92.195.71.245]) by mx01.qsc.de (Postfix) with ESMTP id AC78A3D911; Wed, 30 Sep 2009 05:57:36 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n8U3vZsR013208; Wed, 30 Sep 2009 05:57:36 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 30 Sep 2009 05:57:35 +0200 From: Polytropon To: Warren Block Message-Id: <20090930055735.d95f173f.freebsd@edvax.de> In-Reply-To: References: <4AC29BE6.4000505@videotron.ca> <4AC2B3BB.4080807@videotron.ca> <20090930040733.91cc32d4.freebsd@edvax.de> <4AC2C6FE.5030507@videotron.ca> <20090930051819.be26dc3b.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: PJ , freebsd-questions@freebsd.org Subject: Re: backups & cloning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2009 03:57:37 -0000 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. For automated cloning, there are good examples around that let you boot from DVD or USB stick / USB hard disk and automatically prepare the source disk, then restoring from files. This is a common method especially via SSH, so a local media is needed only for booting and maybe for preparing. > 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? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...