[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

1711.0. "re-partition root disk" by POLAR::STEWARTN () Wed Jul 19 1995 11:43

T.RTitleUserPersonal
Name
DateLines
1711.1SSDEVO::ROLLOWDr. File System's Home for Wayward Inodes.Wed Jul 19 1995 12:494
1711.2Confirming syntax of dump commandsIOSG::MARSHALLMon Apr 21 1997 12:2221
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
1711.3BIGUN::nessus.cao.dec.com::MayneA wretched hive of scum and villainyMon Apr 21 1997 21:4311
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
1711.4IOSG::MARSHALLThu Apr 24 1997 07:194
My system's UFS, so I'll use dump.

Thanks for the info.
Scott