From owner-freebsd-questions Tue Dec 11 0:21:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from isy.liu.se (isy.liu.se [130.236.48.10]) by hub.freebsd.org (Postfix) with ESMTP id 6300D37B417 for ; Tue, 11 Dec 2001 00:21:46 -0800 (PST) Received: from lagrange.isy.liu.se (lagrange.isy.liu.se [130.236.49.127]) by isy.liu.se (8.11.4/8.11.4) with ESMTP id fBB8LeN07101; Tue, 11 Dec 2001 09:21:40 +0100 (MET) Message-ID: X-Mailer: XFMail 1.5.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <001401c181bb$58090c60$0701a8c0@darryl> Date: Tue, 11 Dec 2001 09:22:10 +0100 (CET) From: Micke Josefsson To: Darryl Hoar Subject: RE: Copy a running system Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Use dump(1) and restore(1). Dump each partition onto a file then install "the smallest configuration possible" on the new machine with identical partition sizes (or not smaller at least). Next you export the directory where the dumps are and mount that directory on the new machine. Finally cd into /, /usr and /var and do the restore. I do this to clone a box onto 50+ others. Works like a charm! Hardware differences are normally not a problem. Look for Oscar Obonilla's text on daemonnews. That is my guiding star! /Micke On 10-Dec-2001 Darryl Hoar wrote: > Greetings, > I tediously setup a 4.4-stable box as > a firewall/router, etc. I have it just > the way I want it. I have two other boxes > a little different hardware) and was wondering > if I could copy the setup from my running firewall > to the other two boxes, then just tweak the differences? > This would save a BOATLOAD of time. > > thanks in advance, > Darryl > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ---------------------------------- Michael Josefsson, MSEE mj@isy.liu.se This message was sent by XFMail running on FreeBSD 4.4-STABLE ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message