From owner-freebsd-questions@FreeBSD.ORG Sat Feb 2 15:54:37 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 0FC4E16A420 for ; Sat, 2 Feb 2008 15:54:37 +0000 (UTC) (envelope-from jacks@sage-american.com) Received: from mail.sagedata.net (mail.sagedata.net [63.214.156.21]) by mx1.freebsd.org (Postfix) with ESMTP id CE7FA13C447 for ; Sat, 2 Feb 2008 15:54:36 +0000 (UTC) (envelope-from jacks@sage-american.com) Received: from sagesuper (sageweb.net [65.68.247.73]) by mail.sagedata.net (8.14.2/8.14.2) with SMTP id m12FredF034915; Sat, 2 Feb 2008 09:53:40 -0600 (CST) (envelope-from jacks@sage-american.com) X-Authentication-Warning: mail.sagedata.net: Host sageweb.net [65.68.247.73] claimed to be sagesuper Message-Id: <3.0.1.32.20080202095424.0127d078@sage-american.com> X-Sender: jacks@sage-american.com X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Sat, 02 Feb 2008 09:54:24 -0600 To: Wojciech Puchar , Fira From: "Jack L. Stone" In-Reply-To: <20080202154328.C2524@wojtek.tensor.gdynia.pl> References: <465d309c0802020528g6e1df120hd1ac703a28940edf@mail.gmail.com> <465d309c0802020528g6e1df120hd1ac703a28940edf@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Scanned-By: milter-spamc/1.13.385 (mail.sagedata.net [63.214.156.21]); Sat, 02 Feb 2008 09:53:41 -0600 X-Scanned-By: milter-sender/1.16.915 (mail.sagedata.net [63.214.156.21]); Sat, 02 Feb 2008 09:53:40 -0600 X-Virus-Scanned: ClamAV 0.92/5655/Sat Feb 2 08:49:16 2008 on mail.sagedata.net X-Virus-Status: Clean X-Spam-Status: NO, hits=-15.00 required=4.90 X-Spam-Report: Content analysis details: (-15.0 points, 4.9 required) | | pts rule name description | ---- ---------------------- -------------------------------------------------- | -15 ALL_TRUSTED Passed through trusted hosts only via SMTP | Cc: freebsd-questions@freebsd.org Subject: Re: Question about restore 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: Sat, 02 Feb 2008 15:54:37 -0000 At 03:43 PM 2.2.2008 +0100, Wojciech Puchar wrote: >> >> My question is, how is the right way to do the restore in a system that >> hasn't been installed with freebsd at all? From what I get in google, every > >of course. > >i won't help you with sysinstall as i don't use it, just use LiveCD to >make partitions, newfs and then restore For years I have been using a script that will do it all. It never fails to do the job perfectly and painlessly. In my case I have a utility machine used also for backups and is okay if I need to shut it down for emergency restores and things described by the poster. In you case, just do your dumps on the server to be moved as it will do it quicker and not likely to lose much from a live system (if live). The transfer method is a bit slower. Once dumps are made, then transfer the files over to your "utility" machine. Run my script on the utility which will "mirror" everything over to a 2nd new clean drive. Shut down the utility machine, pull the 2nd drive with the restore and install as the master drive in your target new machine -- then boot up. That's it. BTW: You can modify the partition sizes in the script if you want to make some or all of them larger in a bigger new HD for example. If interested in my script and my method, I'll send it to you as an attachment file. (^_^) Happy trails, Jack L. Stone System Admin Sage-american