From owner-freebsd-questions@FreeBSD.ORG Fri May 29 16:31:31 2009 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 4AF55106566B for ; Fri, 29 May 2009 16:31:31 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id EEE328FC16 for ; Fri, 29 May 2009 16:31:30 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n4TGTWbl064086; Fri, 29 May 2009 12:29:32 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n4TGTVRo064085; Fri, 29 May 2009 12:29:31 -0400 (EDT) (envelope-from jerrymc) Date: Fri, 29 May 2009 12:29:31 -0400 From: Jerry McAllister To: Martin McCormick Message-ID: <20090529162931.GA64026@gizmo.acns.msu.edu> References: <200905291452.n4TEqUWp096527@dc.cis.okstate.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200905291452.n4TEqUWp096527@dc.cis.okstate.edu> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Producing Bad Dumps 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: Fri, 29 May 2009 16:31:31 -0000 On Fri, May 29, 2009 at 09:52:30AM -0500, Martin McCormick wrote: > I use the following flags to create a level 0 dump: > > dump 0ufaL /home/backups/backup /dev/DISKPARTITION > > The dump appears to run just fine. /home/backups/backup is a > pipe to a remote system that fills a regular file from the pipe. > > Everything seems to run well at the time and the dump > file has gigabytes of data in it. I can restore many files from > it and all seems well. > > Today, I practiced restoring a whole system from one of > these dumps and used the following command: > > restore -u -fx FILENAME > > It prompted for the volume number which is 1 (100% of the dump) > and then I entered none when prompted for the next volume. > > That was about an hour ago and it is still spewing out > the names of thousands of files, many of them OS-related such as > /usr/src/xx which were not being modified or created at the time > so if any files should be there, these should. Probably you did not want the -x or -u, but instead wanted to do cd /MOUNTED_EMPTY_PARTITION restore -rf DUMPFILENAME But, I am not sure because it is hard to understand why you chose -xu. ////jerry > > Any idea as to what I did wrong? > > At this point, it is not certain whether the dump is bad > or the restore is bad, but it isn't exactly confidence-en spiring > if the system in question was to melt. > > No file systems filled up and the pipe isn't taken down > until the dump has finished, at least that is what I believe to > be the case. > > Any suggestions are welcome. > > Actually, for this test, I pretended that a directory > on the system called scratch is / so I am just testing the > ability to restore what should be everything under / > before actually trying this on the real / because after that, > you must rebuild the system from CDROM for a proper test. > Thank you. > _______________________________________________ > 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"