From owner-freebsd-questions@FreeBSD.ORG Mon Apr 21 08:58:35 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 3C19B106566C for ; Mon, 21 Apr 2008 08:58:35 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id E7C118FC15 for ; Mon, 21 Apr 2008 08:58:34 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mobileKamikaze.norad (unknown [92.117.137.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 2F79F8A0820; Mon, 21 Apr 2008 10:58:25 +0200 (CEST) Message-ID: <480C572A.6010407@bsdforen.de> Date: Mon, 21 Apr 2008 10:58:18 +0200 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.12 (X11/20080420) MIME-Version: 1.0 To: Kevin Sanders References: <375baf50804111751o5078081elc7ffe4a0e1feceae@mail.gmail.com> In-Reply-To: <375baf50804111751o5078081elc7ffe4a0e1feceae@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: dump restore pain and suffering 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: Mon, 21 Apr 2008 08:58:35 -0000 Kevin Sanders wrote: > I've been dumping and restoring a test system today, and I'm have very > little success. Basically, I've been installing a base FreeBSD > 7-RELEASE/i386 system, doing something like dump -0auL -f > /mnt/test.root.dump, formating the drive and trying to restore -rf > /mnt/test.root.dump. /mnt is a ufs formated usb drive. After the > dump, I've even done a restore -rNf /mnt/test.root.dump just to make > sure it doesn't complain out the dump file. > > I've read the handbook, found a few articles, googled all the errors. > The header dumpdate thing is harmless, the expected next file is from > it being a live system, but I'm not ending up with a system that is > very usable. Doing a df, I see that sometimes I end up with a > restored slice that is about the same size as my dump file, sometimes > less than half. I know I'm not being very specific with what's not > working, but is anyone really using dump/restore and having success > with the restore part? I'm now full of doubt and worry that my real > systems are not really backed up. > > I really wished this worked as easy as falling out of a boat and hitting water. > > Kevin I have used dump/restore to move systems onto other drives, sometimes even through an ssh connection. The only thing you have to remember is to: chmod 1777 /tmp