dump_restore 

Send to Kindle
home » snippets » linux » dump_restore



Notes

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.