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
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
On Wed, 14 Nov 2012 01:20:14 -0700, Gary Aitken wrote:
mount /dev/ada0p4 /mnt/ssd/var
cd /mnt/ssd/var
restore -r /usr/backup/dump_var_0_20121113_1920
Cannot find file dump list
The last command looks wrong. The restore program requires
the dump file to be provided via -f, so
From: Polytropon free...@edvax.de
To: free...@dreamchaser.org
Cc: FreeBSD Mailing List freebsd-questions@freebsd.org
Sent: Wednesday, November 14, 2012 12:27 PM
Subject: Re: ugh. dump / restore problem(s) Cannot find file dump list
On Wed, 14 Nov 2012 01
El día Wednesday, November 14, 2012 a las 01:01:08AM -0800, Jack Mc Lauren
escribió:
Hi
There is no - . This is the correct format : restore rf /path/to/dump/files
from man restore(8):
RESTORE(8) FreeBSD System Manager's Manual
RESTORE(8)
NAME
restore, rrestore — restore
On Wed, 14 Nov 2012 01:01:08 -0800 (PST), Jack Mc Lauren wrote:
There is no - . This is the correct format : restore rf /path/to/dump/files
Really? The manual at man restore mentions:
restore -r [-dDNuvy] [-b blocksize] [-f file | -P pipecommand]
[-s fileno]
And in the -r
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
On Wed, 14 Nov 2012, Polytropon wrote:
On Wed, 14 Nov 2012 01:01:08 -0800 (PST), Jack Mc Lauren wrote:
There is no - . This is the correct format : restore rf /path/to/dump/files
Really? The manual at man restore mentions:
restore -r [-dDNuvy] [-b blocksize] [-f file | -P pipecommand]
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