Linux - restore
What are the command line options for the restore command?
restore options argument [files_or_dirs]
The options are:
- r: read and restore entire tape
- x: extract all files and directories listed and restore them in the current directory. Each name to be extracted must be a complete path name relative to root directory of the filesystem being restored. For example, to restore the file /chem/pub/old/gold from a dump of /chem, you must specify the filename as /pub/old/gold. You should be in /chem when you execute the restore command.
- t: type the names of listed files and directories on terminal if they appear on the backup tape
- f: if present, restore will read the dump from specific device
- s: the corresponding argument indicates which file on tape is to be used for the restore
- i: interactive mode
restore xf /dev/tape/backup phillip/test
page revision: 0, last edited: 07 Apr 2016 05:26





