There are three types of backup methods commonly used:
1. Full backup: Completely back up all the data
2. Incremental Backup: Refer to the contents of the previous backup
3. Differential backup: Always use a full backup of one record point as a reference backup
Dump Backup tool
Dump command: Dump-Digital
The number range is 0-9,0 is a full backup
The dump backup will only start back after the content that was backed up since the last time the number was smaller
So the normal incremental backup is 0-1-2-3-4-5-6 ...
And the differential backup is 0-9-8-7-6-5-4 ...
mount/dev/sda3/xx/
dump-0u-f/root/aa/1.dump/dev/sda3, the purpose of this command is to back up the contents of the Sda3 partition to/root/aa/1.dump, where full backup
Yes, continue to do incremental backups as follows:
dump-1u-f/root/aa/2.dump/dev/sda3
dump-2u-f/root/aa/3.dump/dev/sda3
dump-3u-f/root/aa /4.dump/dev/sda3
restore
first go to the directory or location where you want to restore
cd/xx/to/dev/sda3
first reply to full backup content:
restore-r-f/root/aa/1.dump
option-R is the meaning of restoring all content
restore-r-f/root/aa/2.dump
restore-r-F/ROOT/AA/3. Dump
restore-r-f/root/aa/4.dump
If you only want to restore some of the content, you can do the following:
restore-i-f/root/aa/1.dump
restore>?
#输入? What actions can be prompted
Restore>ls
#显示可以恢复的文件
#如restore >ls return to the following display
.:
AA bb cc
restore>add AA BB
#选择想恢复aa和bb文件
Restore>ls
.:
*aa *bb cc
Sign of #想恢复的文件上会有 *
restore>extract
Restore>quit
Linux File system backup dump