English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux restore-Befehl

Linux Command大全

Der Linux-Befehl restore wird verwendet, um Dateien oder den gesamten Dateisystem (eine Partition) zu wiederherstellen, die durch dump-Operationen gesichert wurden.

Die restore-Anweisung ist umgekehrt zur dump-Anweisung, dump-Operationen können zur Sicherung von Dateien verwendet werden, während restore-Operationen diese gesicherten Dateien zurückschreiben.

Grammatik

restore [-cCvy][-b <区块大小>][-D <文件系统>][-f <备份文件>][-s <Datei-Nummer>] oder restore [-chimvy][-b <区块大小>][-f <备份文件>][-s <Datei-Nummer>] oder restore [-crvy][-b <区块大小>][-f <备份文件>][-s <Datei-Nummer>] oder restore [-cRvy][-b <区块大小>][-D <文件系统>][-f <备份文件>][-s <Datei-Nummer>] oder restore [kurz][-b <区块大小>][-D <文件系统>][-f <备份文件>][-s <文件编号>][文件...] or restore [-chmvxy][-b <区块大小>][-D <文件系统>][-f <备份文件>][-s <文件编号>][文件...]

Parameters:

  • -b<区块大小> Set block size, unit is Byte.
  • -c Do not check the backup format of the dump operation, only allow reading backup files using the old format.
  • -C Use comparison mode to compare the backup files with the current files.
  • -D<文件系统> Allow the user to specify the name of the file system.
  • -f<备份文件> Read backup data from the specified file and perform the restore operation.
  • -h Only extract directories without including all files related to the directory.
  • -i Use interactive mode. The restore command will ask the user in sequence when performing the restore operation.
  • -m Restore files or directories that match the specified inode number instead of using file names.
  • -r Perform the restore operation.
  • -R When fully restoring the file system, check where to start.
  • -s<文件编号> When the backup data exceeds one tape, you can specify the number of the backup file.
  • -t Specify the file name. If the file already exists in the backup file, list their names.
  • -v Display the execution process of the command.
  • -x Set the file name and read them from the specified storage medium. If the file already exists in the backup file, restore it to the file system.
  • -y Without asking any questions, answer in agreement and continue executing instructions.

Linux Command大全