| Following on from .0 (as I need to do exactly the same thing), I just want to
confirm the exact backup and restore commands to use, given that I want to
re-create the file-system exactly as it was (same owners, permissions, setuid
bits, dates, symbolic and hard links preserved, etc, etc, etc).
It seems I could use either:
dump -o -f archive-file /usr
or:
tar cpf archive-file /usr
Is either of these inherently better than the other, for this specific purpose?
The equivalent restore commands would be:
cd /usr; restore -r -f archive-file
or:
tar xpf archive-file
As this is my /usr filesystem, I want to triple-check I get it right first time!
Thanks,
Scott
|
| dump won't work if your filesystem is AdvFS.
Since you're dumping a whole filesystem, I'd use vdump rather than tar, since
that's what vdump was designed for (or at least it was what dump was designed
for, and vdump is the AdvFS equivalent).
You might want to rake through this conference and try to figure out which
utility will leave your sparse files sparse and your non-sparse files
non-sparse. Are there any "strange" files like this in the root filesystem?
PJDM
|