From owner-freebsd-questions@FreeBSD.ORG Wed Feb 27 23:40:49 2008 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 32A501066010 for ; Wed, 27 Feb 2008 23:40:49 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6691C8FC15 for ; Wed, 27 Feb 2008 23:39:49 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8) with ESMTP id m1RNbOoO041279; Thu, 28 Feb 2008 00:37:24 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8/Submit) with ESMTP id m1RNaNkM040685; Thu, 28 Feb 2008 00:36:49 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 28 Feb 2008 00:36:23 +0100 (CET) From: Wojciech Puchar To: Mel In-Reply-To: <200802272347.22581.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20080228003314.B30403@wojtek.tensor.gdynia.pl> References: <173107.60129.qm@web50301.mail.re2.yahoo.com> <200802272347.22581.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1082399414-1204155383=:30403" Cc: FreeBSD-Utah , freebsd-questions@freebsd.org Subject: Re: Mirroring / Cloning FreeBSD System 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, 27 Feb 2008 23:40:49 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1082399414-1204155383=:30403 Content-Type: TEXT/PLAIN; charset=iso-8859-2; format=flowed Content-Transfer-Encoding: 8BIT >> This environment will have two identical / separate >> systems referred to as “System A” and “System B” >> >> - I want to install FreeBSD on to “System A” >> - Once that installation is complete with selected >> ports and custom applications, I want to make an exact >> duplicate of “System A” on “System B” >> >> I don’t want to do this with drives in the same >> system, rather I would like to “clone” “System A” run liveCD on system B, make partitions as you like, newfs, mount as needed under say /mnt (like /mnt, /mnt/usr etc), set up network and do cd /mnt rsh -l root IP_of_systemA "tar --one-file-system -cf - / /usr /othermountpoint /anothermointpoint"|tar xpf - cd / umount /mnt make sure you did bsdlabel -B yourfirstdrive on systema activate rshd and add ip of systemb to .rhosts in /root, at least temporarily. keep machines in sync with rsync, prepare your rsync script, exclude list etc etc. --0-1082399414-1204155383=:30403--