From owner-freebsd-questions@FreeBSD.ORG Sun May 23 05:55:27 2004 Return-Path: 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 EEC5416A4CE for ; Sun, 23 May 2004 05:55:27 -0700 (PDT) Received: from wonkity.com (wonkity.com [65.173.111.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93ABE43D31 for ; Sun, 23 May 2004 05:55:27 -0700 (PDT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.12.11/8.12.11) with ESMTP id i4NCtKc4038484; Sun, 23 May 2004 06:55:20 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.11/8.12.11/Submit) with ESMTP id i4NCtKkN038481; Sun, 23 May 2004 06:55:20 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 23 May 2004 06:55:20 -0600 (MDT) From: Warren Block To: Grant Peel In-Reply-To: <009f01c440c1$c9091d20$6601a8c0@grant> Message-ID: <20040523064455.U38458@wonkity.com> References: <009f01c440c1$c9091d20$6601a8c0@grant> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: New machines - Dump and Restore -deploy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 12:55:28 -0000 On Sun, 23 May 2004, Grant Peel wrote: > I have spent the last year or so developing a server platform that I now > want to clone from a production box to the two new boxes. > > I intend to use Dump and Restore to completely copy the OS from the older > box to the two new ones. > > The current (older box) has only a 18 GB SATA drive on it. The two new > machines have 36 GB SCSI drives. So my question is, as long as the > partitions on the new box are names the same as the old box, and are at > least the same size, or bigger, dump and restore should work without > problems (?) The partitions don't even need to be the same names. To do a "clone", I cd into the target filesystem (/, /var, /usr) and use 'restore -ruf dumpfile'. Usually the dumpfile is on an NFS mount. > I will need to install a base OS on the new systems first, so I can > partition the drives and be able to connect tot the box, the second question > is, when I use restore, will it overwrite the kernel, if so, can I protect > the kernel from being overwritten? You could use the live filesystem CD (#2) or a FreeSBIE CD also, but I usually just do a minimal install. There may be an error when restore attempts to overwrite the kernel; can't recall. However, I rebuild the kernel after the system has been cloned to be sure it's in sync with the current source on the machine. > The third question is, can I, should I, use rsyn insted of dum and restore? dump and restore are the right tools for this case. -Warren Block * Rapid City, South Dakota USA