Co robi RESTORE użycie. Konsola with one of the following flags uruchomić.

Czy przydatne?

Polecenie restore

Wykonanie, użycie: System administration command. Restore backed up files from a dump archive. Execute this command with one of the following flags

Opcje wykonania restore w konsoli

-a

Read all volumes to find the files to extract, beginning with volume 1. This will skip any volume prompts.

-A file

Read the table of contents from the specified archive file.

-bblocksize

Specify the block size in kilobytes used for a block in the archive. Restore can usually determine this when reading the dump media.

-c

Read dumps made prior to Version 4.4.

-d

Print debugging information.

-D filesystem

When using the -C flag, compare the dump to files on the specified filesystem.

-f file

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.

-F script

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.

-h

Do not recursively restore directory. Only restore the specified directory.

-k

Use Kerberos authentication when connecting to a remote server.

-l

Treat file as a regular file instead of a tape device. Use this option when restoring from remote compressed files.

-L n

Used with the -C flag. Abort the comparison after encountering n errors.

-m

Expect filenames to be given as inodes.

-M

Restore from a multivolume backup. Treat any filename provided with -f as a prefix.

-N

Perform all actions indicated by other flags and options, but don't write anything to the disk.

-o

Automatically set ownership and mode of the current directory to match the original base directory of the dump.

-Q file

Read tape positions from the specified Quick File Access mode file.

-S n

Read from volume n of a multifile backup.

-u

Unlink (remove) any existing files before writing a file with the same name.

-v

Verbose mode. Print information about files being restored.

-V

Enable multivolume mode for devices other than tapes.

-X file

Read list of files and directories to extract from the specified file. Use - to retrieve list of files from standard input.

-y

Attempt to skip over errors without prompting for operator input.

Przykłady restore działanie w Słownik polecenie R

Przykład RESTORE użycie :
Jak użyć administration command. Start or stop RAID devices as defined in the RAID configuration file, /etc/raidtab . If option -a (or --all ) is used, no devices need to be given; the command will be applied co znaczy.
Przykład RESTORE użycie :
Jak użyć Delete the named directories (not the contents). directories are deleted from the parent directory and must be empty (if not, rm -r can be used instead). See also mkdir krzyżówka.
Przykład RESTORE użycie :
Jak użyć Print the contents of the symbolic link file --that is, the name of the file to which the link points co to jest.
Przykład RESTORE użycie :
Jak użyć Report RPC information. program can be either a name or a number. If a version is specified, rpcinfo attempts to call that version of the specified program . Otherwise, it attempts to find all the słownik.
Przykład RESTORE użycie :
Jak użyć two machines. Each file or directory is either a remote filename of the form rname@rhost:path , or a local filename. Files can be copied between two remote machines, where neither file1 nor file2 is czym jest.