From owner-freebsd-questions@FreeBSD.ORG Mon Apr 21 15:12:17 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 3D0AE106566C for ; Mon, 21 Apr 2008 15:12:17 +0000 (UTC) (envelope-from newroswell@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.183]) by mx1.freebsd.org (Postfix) with ESMTP id F17EC8FC25 for ; Mon, 21 Apr 2008 15:12:16 +0000 (UTC) (envelope-from newroswell@gmail.com) Received: by el-out-1112.google.com with SMTP id m34so490469ele.8 for ; Mon, 21 Apr 2008 08:12:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=cBErXlxA0xjbio75WCndec3Mb1VloEBsO2fAp9KfzaE=; b=KD42SJo0Z//Riz1eVz4SkMQx70YAxUTM1aIwNjNuGa96i0kD4i6+23cMdEWMGQwilqjyos2E3qvOYXEWh9Ayh87/iRiV2rCHYJLOlTTZXyTOTf3NqZP3v/8Iwo+3oSzKdJKOLbt+2S6ZqOKKwB8LjlhoB53a0X2mFzSEec2vnJs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SwQSwuq2unDqaBXICvgtY8Nh3R2/qAqqlwCBt2LV84ZIPFqa9+n4uqAWB8zMnFYB3Ek+hU/2ijDmDxKbkeGWqqIt6l1zaK87AnGl89809VRd+56Lq45ySMkb9b22o9Wm4tG2NREfnxmTO68WGcQUnm0y6F4I1xvTwofx8IAi2iQ= Received: by 10.114.148.2 with SMTP id v2mr3060299wad.202.1208790734856; Mon, 21 Apr 2008 08:12:14 -0700 (PDT) Received: by 10.114.137.2 with HTTP; Mon, 21 Apr 2008 08:12:14 -0700 (PDT) Message-ID: <375baf50804210812y3e7fd7ady774188a91aa001bc@mail.gmail.com> Date: Mon, 21 Apr 2008 08:12:14 -0700 From: "Kevin Sanders" To: "Dominic Fandrey" In-Reply-To: <480C572A.6010407@bsdforen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <375baf50804111751o5078081elc7ffe4a0e1feceae@mail.gmail.com> <480C572A.6010407@bsdforen.de> 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 15:12:17 -0000 On Mon, Apr 21, 2008 at 1:58 AM, Dominic Fandrey wrote: > > 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 > I finally got a good restore. I meant to reply all to document my solution, but hit reply to Anders only I guess. I was booting off the Live CD and had to soft link /tmp to a drive with some free space. After that everything worked perfect. Kevin