dump/restore don't work, handbook lies

Peter Schuller peter.schuller at infidyne.com
Tue Sep 2 08:00:54 UTC 2008


>     dump -0af /mnt/d201gly-0.dump /

[snip]

>     restore -rf /mnt/restore/d201gly-0.dump
> 
> it complains about '/' issues
> it complains about 'expecting YYYYYY got ZZZZZZ'

I very rarely use dump/restore, but based on the man page I cannot see
what's wrong other than the live fs issue already mentioned.

Since no one has suggested the real problem, I would like to suggest
that all those 'expecting ...' are also related to whatever errors
were printed at the very beginning. So an actual dump of the exact
output there would be useful.

FWIW, for doing stuff like moving the root fs (which I have done more
often than I would like) I recommend using tar -cp or rsync -a. I
preserves everything I care about preserving, and it has well-known
and well-tested semantics that I feel comfortable with.

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller at infidyne.com>'
Key retrieval: Send an E-Mail to getpgpkey at scode.org
E-Mail: peter.schuller at infidyne.com Web: http://www.scode.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080902/a36ee439/attachment.pgp


More information about the freebsd-questions mailing list