From owner-freebsd-questions@FreeBSD.ORG Sat Apr 12 02:44:46 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 34686106564A for ; Sat, 12 Apr 2008 02:44:46 +0000 (UTC) (envelope-from newroswell@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id 1AB0C8FC18 for ; Sat, 12 Apr 2008 02:44:45 +0000 (UTC) (envelope-from newroswell@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so646633waf.3 for ; Fri, 11 Apr 2008 19:44:45 -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=4gC25bXifq2FsqrBI6voZ7hSVsxGYpIjP/9X0UBqy9M=; b=SdLRzvJk2uDK12pMSaTXgLC3sTlbTwG0FFh3PFTbeIqeVy5XJ9M6xdOHBRKew7W0LpaN/3VsqJ8dBP/0p4a8HCpAxe48D5gERMdexb/3CiNyK3K5xcYVl5P3+7fwkiXDQ1ax9/APWXhvmkVTuzoI3O8B0dy804Tlse9CEDGavPw= 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=XDXnY/uOVcUtedx3Sdn3fK3UHaHI+0T1XxKw+sERzmqncL3tbO+LASqoTESXsfQYp+RUqmN8qJzClU9AzgnM5yusEJfskfi/mlpAWXhQx2JrAfZTyHUeRW4IO/D2LYFp9VmiqAehiYdMxVNRJ+6wC1mx+3OJrcxpe/kfyqbjIGc= Received: by 10.115.79.8 with SMTP id g8mr1095485wal.215.1207968285479; Fri, 11 Apr 2008 19:44:45 -0700 (PDT) Received: by 10.114.205.10 with HTTP; Fri, 11 Apr 2008 19:44:45 -0700 (PDT) Message-ID: <375baf50804111944j2b5c6be8uca41dc9aaf01c382@mail.gmail.com> Date: Fri, 11 Apr 2008 19:44:45 -0700 From: "Kevin Sanders" To: Eric In-Reply-To: <4800108B.2050200@mikestammer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <375baf50804111751o5078081elc7ffe4a0e1feceae@mail.gmail.com> <4800108B.2050200@mikestammer.com> 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: Sat, 12 Apr 2008 02:44:46 -0000 On Fri, Apr 11, 2008 at 6:29 PM, Eric 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 > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > > > > i wrote this up: > > http://mikestammer.com/dokuwiki/bsd:dumprestore > > after setting up dump/restore for my backup solution. i used it to migrate > from old hard drives to a RAID1 setup on a 3ware controller and everything > went well. > > what errors are you seeing? > > Eric > I don't have them handy, but I got the header dumpdate warning, which I guess is harmless. Then I would get hundreds of "expected next file A found B" error. Sometimes it would suddenly give me an abort [yn], if you hit n, then you just get another abort [yn] until you give up. I'll check out your link and give things a few more tries. I figured I must be doing something wrong since dump/restore is so highly recommended as the best choice. Thanks, Kevin.