ugh. dump / restore problem(s) "Cannot find file dump list"

Matthias Apitz guru at unixarea.de
Wed Nov 14 18:59:52 UTC 2012


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;

	matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz               |  - No system with backdoors like Apple/Android
E-mail: guru at unixarea.de     |  - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |  - No proprietary attachments
phone: +49-170-4527211       |  - Respect for open standards


More information about the freebsd-questions mailing list