Date: Wed, 14 Nov 2012 09:30:24 +0100 From: Matthias Apitz <guru@unixarea.de> To: Gary Aitken <freebsd@dreamchaser.org> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: ugh. dump / restore problem(s) "Cannot find file dump list" Message-ID: <20121114083024.GA1227@tiny.Sisis.de> In-Reply-To: <50A3543E.9000406@dreamchaser.org> References: <50A3543E.9000406@dreamchaser.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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; matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru@unixarea.de | - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | - No proprietary attachments phone: +49-170-4527211 | - Respect for open standards
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121114083024.GA1227>