Links
Notes
- you get one destination file that you can copy over
to another system and restore from it (ala tar).
- great for preserving hard links and creating an
exact duplicate.
- The source and destination filesystems have to match
- i.e. both ext3fs or both btrfs, etc.
- Important: Never use dump/restore on live
filesystems, only on absolutely quiescent ones,
preferably not even mounted read/write.
Example
Syntax: "dump -0f - olddirectory | (cd newdirectory && restore -vrxyf -)"
"-0" level-zero aka full backup,
"-f" use a file rather than the default tape device,
"-" have that device be standard output for dump or standard input for restore,
"-v" create verbose output regarding progress,
"-r" rebuild a filesystem, setting its "dump" backup level to zero.
"-x" the named files are read from the given media
"-y" Do not ask the user whether to abort the restore in the event of
an error. Always try to skip over the bad block(s) and continue.