System administration command. Restore backed up files from a dump archive. Execute this command with one of the following flags.
Compare files on disk to files in the backup and print report.
Restore files interactively. This will open a shell-like interface that accepts the following commands.
Add the current working directory, or the specified file or directory name to the list of files to extract.
Change the current working directory.
Remove the current working directory or the specified file or directory name from the list of files to extract.
Extract selected files. This will prompt for the volume on which the files to be extracted can be found. Once the files are extracted, the system will prompt if you want to change the ownership and mode of the current directory (the one to which you extracted the files) to match the settings on the dump's original base directory.
Print a command summary.
Like the shell command, list files in the current working directory, or the specified file or directory name. A * before a name indicates items marked for extraction. In verbose mode, the listing will include each item's inode.
Like the shell command, print the working directory.
Exit the command.
Set ownership and mode of the directory to which you extract the files to match the settings on the dump's original base directory.
Exit the command.
Verbose mode. Print inodes along with file and directory names when using ls.
Create a Quick File Access file suitable for use with the -Q option.
Prompt for the tape volume to fully restore.
Fully restore the backup to a clean, newly created ext2 filesystem. Execute this command in the root directory of the new filesystem.
Print files if they exist in the archive or an error if they do not. If no files are specified, list all files in the archive.
Recursively extract files if they exist in the archive. Restore owner, modification times, and modes. If no files are specified, restore the entire backup.
Read all volumes to find the files to extract, beginning with volume 1. This will skip any volume prompts.
Read the table of contents from the specified archive file.
Specify the block size in kilobytes used for a block in the archive. Restore can usually determine this when reading the dump media.
Read dumps made prior to Version 4.4.
Print debugging information.
When using the -C flag, compare the dump to files on the specified filesystem.
Read the backup from the specified file: a device file, an ordinary file, or - to read from standard input. Use host:file or user@host:file to read from a networked host using either the rmt program or the program specified by the RMT environment variable.
Run the specified script at the beginning of each volume. restore will pass the current device and volume number to the script. The script should return 0 to continue, 1 to prompt for a new tape, or any other exit value to abort the restore. The script will run with the process's real user and group ID.
Do not recursively restore directory. Only restore the specified directory.
Use Kerberos authentication when connecting to a remote server.
Treat file as a regular file instead of a tape device. Use this option when restoring from remote compressed files.
Used with the -C flag. Abort the comparison after encountering n errors.
Expect filenames to be given as inodes.
Restore from a multivolume backup. Treat any filename provided with -f as a prefix.
Perform all actions indicated by other flags and options, but don't write anything to the disk.
Automatically set ownership and mode of the current directory to match the original base directory of the dump.
Read tape positions from the specified Quick File Access mode file.
Read from volume n of a multifile backup.
Unlink (remove) any existing files before writing a file with the same name.
Verbose mode. Print information about files being restored.
Enable multivolume mode for devices other than tapes.
Read list of files and directories to extract from the specified file. Use - to retrieve list of files from standard input.
Attempt to skip over errors without prompting for operator input.