Linux File system backup dump

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.