From owner-freebsd-questions@FreeBSD.ORG Thu Nov 15 01:22:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E7C91682 for ; Thu, 15 Nov 2012 01:22:12 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 96ED18FC0C for ; Thu, 15 Nov 2012 01:22:12 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id qAF1M6Qo057075; Wed, 14 Nov 2012 18:22:06 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id qAF1M5a3057072; Wed, 14 Nov 2012 18:22:05 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 14 Nov 2012 18:22:05 -0700 (MST) From: Warren Block To: Matthias Apitz Subject: Re: ugh. dump / restore problem(s) "Cannot find file dump list" In-Reply-To: <20121114185939.GA1111@tiny.Sisis.de> Message-ID: References: <50A3543E.9000406@dreamchaser.org> <20121114095745.7db0a9e0.freebsd@edvax.de> <1352883668.65811.YahooMailNeo@web126006.mail.ne1.yahoo.com> <20121114101152.09b34640.freebsd@edvax.de> <20121114185939.GA1111@tiny.Sisis.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="3512871622-776869514-1352942526=:57026" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Wed, 14 Nov 2012 18:22:06 -0700 (MST) Cc: "freebsd@dreamchaser.org" , Polytropon , FreeBSD Mailing List , Jack Mc Lauren X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2012 01:22:13 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --3512871622-776869514-1352942526=:57026 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Wed, 14 Nov 2012, Matthias Apitz wrote: > El día Wednesday, November 14, 2012 a las 09:45:22AM -0700, Warren Block escribió: > >>> One of the (in my opinion) most interesting reference sources >>> for dump/restore also mentions this format: >>> >>> # mount /dev/da0s1 /mnt >>> # mkdir /tmp/oldvar >>> # cd /tmp/oldvar >>> # restore -ruf /mnt/var.dump >> >> Yes, -u "unlinks" an existing file before restoring that file, useful >> for restoring dumps over an existing filesystem. Leave out the -u when >> restoring to a new filesystem and the restore will go faster. >> >>> # umount /mnt >> >> And that points out a mistake: /mnt can't be unmounted while it is the >> PWD. Fixed. > > I think PWD is /tmp/oldvar and not /mnt; Yes, you're correct. Re-fixed. Thanks! --3512871622-776869514-1352942526=:57026--