From owner-freebsd-questions@FreeBSD.ORG Wed Nov 14 15:43:54 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 A4BB18AC for ; Wed, 14 Nov 2012 15:43:54 +0000 (UTC) (envelope-from ah@dreamchaser.org) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.44.142]) by mx1.freebsd.org (Postfix) with ESMTP id 5F2228FC12 for ; Wed, 14 Nov 2012 15:43:54 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [12.32.36.73]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id qAEFhqeT031546 for ; Wed, 14 Nov 2012 08:43:53 -0700 (MST) (envelope-from ah@dreamchaser.org) Message-ID: <50A3BC38.6000504@dreamchaser.org> Date: Wed, 14 Nov 2012 08:43:52 -0700 From: Gary Aitken User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120609 Thunderbird/13.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: ugh. dump / restore problem(s) "Cannot find file dump list" References: <50A3543E.9000406@dreamchaser.org> <20121114083024.GA1227@tiny.Sisis.de> In-Reply-To: <20121114083024.GA1227@tiny.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Wed, 14 Nov 2012 08:43:53 -0700 (MST) 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: Wed, 14 Nov 2012 15:43:54 -0000 On 11/14/12 01:30, Matthias Apitz wrote: > El día Wednesday, November 14, 2012 a las 01:20:14AM -0700, Gary Aitken escribió: > >> I needed to expand a /var partition, >> which required saving and restoring /var and /usr >> >> did the following: >> booted to backup disk >> dump -0aR -h 0 -f /usr/backup/dump_var_0_20121113_1920 /dev/ada0p4 >> (repeat for /tmp, /usr, / partitions to be safe) >> repartitioned the main disk using gpart >> newfs the modified partitions (var, tmp, usr) >> rewrote the boot block and boot partition (#1) >> mount /dev/ada0p4 /mnt/ssd/var >> cd /mnt/ssd/var >> restore -r /usr/backup/dump_var_0_20121113_1920 >> Cannot find file dump list >> >> Any ideas why I get the "Cannot find file dump list"? >> What / where is it supposed to be? > > You need to specify the file containing the DUMP with -f flag; and use > the flag -r only to restore to the original location, or -x to restore > into the current dir; check the man page for details; Sorry all, a typing issue on my part when composing the email; problem remains: # restore -iN -f /mnt/hd_ssd_backup/usr/backup/dump_tmp_0_20121113_1920 Cannot find file dump list