Latest web development tutorials

Linux restore Command

Linux command Daquan Linux command Daquan

Linux restore command to restore the dump operation backed up files or entire file system (partition).

Operating instructions and dump restore command conducted contrary, dump operation can be used to back up files, and restore operations is written back these files have been backed up.

grammar

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

Parameters:

  • -b <block size> Sets the block size, the unit is Byte.
  • -c Do not check the operation of the dump backup format, only the permission to read the backup file using the old format.
  • -C Contrasting mode, the file will be backed up existing files and contrast each other.
  • -D <File system> allows the user to specify the name of the file system.
  • -f <backup file> reads the backup data from the specified file, the restore operation.
  • -h only solved catalog does not include all the files associated with that directory.
  • -i use the interactive mode, during a restore operation, restore instruction sequentially ask the user.
  • -m unlock the inode number matches the specified file or directory name, rather than using the file specified.
  • -r restore operation.
  • When -R fully restore the file system, checks should be carried out where to start.
  • -s <file number> When backing up data over a roll of tape, you can specify the number of backup files.
  • -t Specify the file name, if the file already exists in the backup files, their names are listed.
  • -v display process execution instruction.
  • -x settings file name, and read them from the designated storage media where, if the file already exists in the backup file, then restore it into the file system.
  • -y do not ask any questions, and the answer will be to agree to continue executing instructions.

Linux command Daquan Linux command Daquan