From owner-freebsd-questions@FreeBSD.ORG Sun Jan 13 17:20:45 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 D577916A418 for ; Sun, 13 Jan 2008 17:20:45 +0000 (UTC) (envelope-from freebsd08@dfwlp.com) Received: from pollux.dfwlp.com (rrcs-64-183-212-244.sw.biz.rr.com [64.183.212.244]) by mx1.freebsd.org (Postfix) with ESMTP id A53F713C45D for ; Sun, 13 Jan 2008 17:20:45 +0000 (UTC) (envelope-from freebsd08@dfwlp.com) Received: from athena.dfwlp.com (athena.dfwlp.com [192.168.125.82]) (authenticated bits=0) by pollux.dfwlp.com (8.13.8/8.13.8) with ESMTP id m0DHKhoh040454 for ; Sun, 13 Jan 2008 11:20:43 -0600 (CST) (envelope-from freebsd08@dfwlp.com) From: Jonathan Horne To: freebsd-questions@freebsd.org Date: Sun, 13 Jan 2008 11:20:42 -0600 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801131120.43141.freebsd08@dfwlp.com> X-Spam-Status: No, score=-4.1 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on pollux.dfwlp.com Subject: using restore to recover a 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: Sun, 13 Jan 2008 17:20:45 -0000 ive been practicing using dump and restore. the dumping is easy... i think. my dump command is as such: dump -0uLaf /opt/backups/athena-root-0 / /opt is an NFS mounted share from another server. the dump completed without errors. however, when i restore, i do this: 1) install a new drive in the system 2) boot to livefs cd, use the sysinstaller to fdisk and label the new drive 3) use configure to activate the network interface 4) drop to fixit shell 5) mount my nfs share via its IP (no resolv seems to be working, even if i make a resolv.conf) at this point, i have tried restoring the automatically mounted slices that label made, and i have also tried unmounting everything, and remounting single slices (ie, instead of /mnt, and then usr mounted under /mnt/usr, having them all non-tree-like mounted to /mnt/root /mnt/usr /mnt/var, etc). every time, restore begins by complaining that it expected file xxxx, but got file yyyy. it goes for a bit, and then dumps. it also complains that file system is full, but i ahve checked and rechecked that i have the right file systems mounted to each mount (ie, not mounting a 500mb temp to where usr needs to be). my restore command was as such: cd /mnt/usr restore /opt/backups/athena-usr-0 root actually does complete, but usr dumps, and bombs out. can anyone give me some pointers for successfully using restore to reload a dump? im trying to nail this process down from a total disaster recovery point of view. thanks, -- Jonathan Horne http://dfwlpiki.dfwlp.org freebsd08 _@_ dfwlp.com