Use the dump command of linux to back up the file system
This article will explain in detail about the use of linux dump command backup file system, Xiaobian feel quite practical, so share to everyone for a reference, I hope you can have some harvest after reading this article.
The dump command is used to back up file systems. dump is a backup utility program that backs up directories or entire file systems to specified devices, or as one large file.
Syntax format: dump [parameter]
Common parameters:
-0123456789 Backup hierarchy-b Specify block size in KB-B Specify number of blocks for backup volume-c Modify default density and capacity for backup tapes-d Set tape density. BPI-f specifies backup device-h when backup hierarchy is equal to or greater than specified hierarchy, files marked as "nodump" by user will not be backed up-n when backup work requires administrator intervention, issue a communication to all users in the "operator" group-s backup tape length, in feet-T specifies the time and date of backup start-u after backup is completed, record the file system, hierarchy, date and time of backup in/etc/dumpdates, etc. -w similar to-W, But show only files that need to be backed up-W shows files that need to be backed up and the hierarchy, time and date of their last backup
Reference Example
Backup files to tape:
[root@linuxcool ~]# dump -0 -u /dev/tape /home/
Backup file system/boot to SCSI tape device:
[root@linuxcool ~]# dump 0f /dev/nst0 /boot
Backup file system/to SCSI tape device:
[root@linuxcool ~]# dump 0f /dev/nst0/About using linux dump command backup file system to share here, I hope the above content can be of some help to everyone, you can learn more knowledge. If you think the article is good, you can share it so that more people can see it.