YouTip LogoYouTip

Linux Comm Restore

# Linux restore Command [![Image 3: Linux Command Manual](#) Linux Command Manual](#) The Linux restore command is used to restore files or an entire filesystem (a partition) backed up by the dump operation. The operations performed by the restore command are the opposite of the dump command. The dump operation is used to back up files, while the restore operation writes back these already backed up files. ### Syntax restore or restore or restore or restore or restore [file...] or restore [file...] **Parameters**: * -b Set the block size, in bytes. * -c Do not check the dump backup format; only allow reading backup files using the old format. * -C Use comparison mode to compare backed up files with current files. * -D Allow the user to specify the name of the filesystem. * -f Read backup data from the specified file to perform the restore operation. * -h Only extract directories without including all files associated with that directory. * -i Use interactive mode; during the restore operation, the restore command will prompt the user sequentially. * -m Extract files or directories matching the specified inode number instead of using filename specification. * -r Perform the restore operation. * -R When performing a full filesystem restore, check where to start. * -s When backup data spans more than one tape, you can specify the backup file number. * -t Specify file names; if the files exist in the backup file, list their names. * -v Display the execution process of the command. * -x Set file names and read them from the specified storage media; if the files exist in the backup file, restore them to the filesystem. * -y Do not ask any questions; answer yes to everything and continue executing the command. [![Image 4: Linux Command Manual](#) Linux Command Manual](#)
← Linux Comm TarOs Makedev β†’