Name
restore — stdin stdout - file -- opt --help --version
Synopsis
restore [options] [files]
The restore command reads a
backup created by dump. It can
then restore the files to disk, compare them against those on disk,
and other operations. The friendliest way to use restore is with the -i flag for interactive operation, which
lets you browse the dumped contents just like a filesystem,
selecting files and directories, and finally restoring
them.
# restore -i -f /dev/tape
restore then prompts you
for commands like the ones listed below.
|
|
Print a help message. |
|
|
Exit the program without restoring any files. |
|
|
Like the shell’s
|
|
|
Like the Linux
|
|
|
Like the shell’s
|
|
|
Add files or
directories to the “extraction list”: the list of files
you’ll want to restore. With no arguments, |
|
|
Add the file to the extraction list. |
|
|
Add the directory dir to the extraction list. |
|
|
The opposite of
|
|
|
Remove the file from the extraction list. |
|
|
Remove the directory dir from the extraction ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access