Linux Learning RHEL7 XFS Backup and recovery

Source: Internet
Author: User

The RHEL7 file system is updated to XFS. XFS provides Xfsdump and Xfsrestore tools to assist in backing up data from XFS file systems. Xfsdump back up an XFS file system in Inode order. Unlike traditional UNIX file systems, XFS does not need to be unloaded before dump, and a dump of the in-use XFS file system can guarantee the consistency of the image. Unlike XFS's implementation of snapshots, the process of the dump and restore of XFS can be interrupted and then resumed without the need to freeze the file system. Xfsdump even provides high-performance multi-threaded backup operations It splits a dump into multiple streams, each of which can be sent to a different destination.

1 Adding a blank hard disk

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/76/AA/wKiom1ZYaPKxP_ORAAFu9Y_x2Uk581.png "/>

2 Disk Partitioning

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/76/AA/wKiom1ZYaPPziKMQAAGIAe6aTGQ061.png "/>

3 partition formatting

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/76/AA/wKioL1ZYaVXT8QyPAADKbKxnA8Y619.png "/>

4 Preparing test data

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/76/AA/wKioL1ZYaVXxz8oyAAANSDJWszI431.png "/>

5 to the entire SDB1 partition into the backup

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/76/AA/wKiom1ZYaPbDKyJNAAHvj70MNK8737.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/76/AA/wKioL1ZYaVeRW6VDAAD2CpOlctc483.png "/>

6 backup for the specified file or directory

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/76/AA/wKiom1ZYaPjw0cG3AAHdkH4zvYA942.png "/>

7 Viewing the generated backup file

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/76/AA/wKiom1ZYaPmyrea-AAGK2uJpwqI636.png "/>

8 Viewing the contents of a backup file

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/76/AA/wKioL1ZYaVvR3PPCAAIr-LJNI8I036.png "/>

9 simulating the deletion of source data

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/76/AA/wKioL1ZYaVux76u2AAAInAfw53U986.png "/>

10 Recovering data

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/76/AB/wKiom1ZYaP3gF2UeAAI7BVkzFMI983.png "/>

11 Recovering individual files

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/76/AB/wKiom1ZYaP-wHkAPAAJM5kEJSbw564.png "/>

Restore Complete!!!

Linux Learning RHEL7 XFS Backup and recovery

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.