Linux/centos Mondo One-click Deployment, mirrored recovery, rapid deployment

Source: Internet
Author: User

I. INTRODUCTION
Mondo Rescue is an open source, free recovery and Backup tool that allows users to easily create ISO images of system (Linux or Windows) clones or backups that can be stored on CDs, DVDs, tapes, USB devices, hard drives, and NFS. Mondo Rescue can also be used to quickly recover or redeploy work images to other systems, and in the event of data loss, you can restore as much complete system data from backup media as possible.

Mondo Rescue (hereinafter referred to as Mondo) can be said to be ghost under Linux, it can take your system as a photo backup to tape, CD-R,CD-RW,NFS or hard disk partition. Mondo extensively supports LVM, RAID, Ext2, Ext3, JFS, XFS, ReiserFS, VFAT, and more. This software allows you to back up the Linux system step-by-step, and once the problem is in the future, just use the created MONDOCD to restore the system to the last backup state. Architecture: Mondo Rescue consists of two packages of Mondo and Mindi. Mondo is the main program used to back up and restore. Mindi is similar to a mini Linux, which includes core, module, function library and some important tools for system maintenance. Currently, Mondo has supported the Asianux 2/3 system platform.

Mondo Rescue supports versions of Linux systems, and this document has been experimented on both CentOS and Redhat Linux versions, both of which are now common

Two. System considerations
(1) Mirror to the Internet, because the need to install from the online package, no network, the need for the package is also early download, can be installed offline, offline installation is more trouble, try to have a better network

(2) The mirror machine disk does not use the LVM, uses the Linux standard partition, the file system ext3, EXT4, XFS all can.

(3) Mirror machine in the installation of the system, the establishment of two partitions can be, a/boot partition, to 200m, A/partition,/partition to look at, do not give too big, enough to install the application can, the mirror in the restore to other machines, will automatically help you expand, too big, there will be problems. Do not create swap partitions, there will be problems, swap partition system installed can also be created, do not worry

(4) partition mount format to use the disk character to mount do not use the UUID to mount, or do a good image to restore the time will not recognize the partition mount file:/etc/fstab:

Three. Installation process
1. Configuration
Yum installation, first enter the/ETC/YUM.REPOS.D directory. Get the Yum source for the Linux platform

Ftp://ftp.mondorescue.org/rhel/6/x86_64/mondorescue.repo Redhat and CENTOS6 versions

Ftp://ftp.mondorescue.org/rhel/7x86_64/mondorescue.repo Redhat and CENTOS7 versions

Execute command:

#Wget Ftp://ftp.mondorescue.org/rhel/6/x86_64/mondorescue.repo

2. Modifications

Modify Mondorescure.repo

#vimmondorescure. Repo


3. Installation

Start installing Mondo

#yum-y Install Mondo

Four. Making images
Run Mondo
Run the mondoarchive command with root user rights, as shown in the following:

1. What media to back up
Select hard disk to back up the ISO image to the drive such as:

2. Backup location Selection
Enter the full path name or default of the directory where the backup ISO image resides. By default it can be as follows:

3. Compression type selection
Select the compression type: Choose gzip compression rate large recommended options such as:

4. Compression Ratio Selection
Select the compression option maximum (9) such as:

5. Select each mirror size
Type the size of each ISO image you want, in megabytes (megabytes). This value should be less than or equal to the capacity of the CD-R (W) (700) or DVD (4480). By default. The default is just DVD capacity such as:

6. Create a name for the image
Please make an ISO image file name: Columns such as Test. (custom) or default image exceeding the set size will automatically generate the next example:

7. Select the directory you want to back up
Enter the directory of files you want to back up, default to the root directory to back up the system, and by default select the root directory such as:

8. Exclude directories that do not need to be backed up
Please exclude the file system you do not want to back up ("|" Separated). For example: In general, there may be some files that are not needed and may need to be excluded if you want to fully back up your system, just enter. Such as:

9. Select the Temp directory path
Enter your temporary directory path and select the default path as follows:

10. Select the Staging directory path
Enter your staging directory path and select the default path as follows:

11. Choose whether to back up extended properties
Select the properties of the backup extension and select Yes for:

12. Backup the kernel of the machine
Back up the kernel of the machine, select the default can be, directly select OK Enter can be as follows:

13. Verifying the backup file
If you want to verify your backup file, click "Yes" after Mondo create the backup file. Such as:

14. Create a "/" File system directory
To this software to automatically backup, no manual interaction
Create a "/" File system directory that is automatically executed as shown in:

15. Dividing a list of files into collections
Dividing a list of files into collections automatically executes as follows:

16. Call Mindi to create the Boot+data disk.
Call Mindi to create the Boot+data disk. Automatic execution, such as:

17. Backing up the file system
Back up the file system. This process can take several hours, please be patient and wait for automatic execution, such as:

18. Back up large files.
Back up large files. Automatic execution, such as:

19. Run "Mkisofs" to create an ISO image.
Run "Mkisofs" to create an ISO image. Automated execution such as:

20. Verifying the compression package for ISO images
Verify that the compression package for the ISO image is executed automatically as follows:

21. Verify the large file of the ISO image.

Verify the large file of the ISO image. Automated execution such as:

22. Archive complete

Finally, the Mondo archive is complete. Select OK to return to the shell prompt interface. Such as:

If you have selected the default backup path, you will see an ISO image file under "/var/cache/mondo/". At this point, you can burn the backup image to a CD/DVD to facilitate later recovery of the system's use.

Five. Recovery

In order to automatically recover all files, you can boot the system with the ISO image generated by Mondo and then select the "(Manually Enter) nuke" type in the boot prompt interface to recover the files. The video in the document details how to automatically recover files from CD/DVD media. Recovery videos can be added below for free

If you are interested in this, please scan the QR code below for free for more details

Linux/centos Mondo One-click Deployment, mirrored recovery, rapid deployment

Related Article

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.