Linux system clone to ISO mirror disk (like win GOST)

Source: Internet
Author: User

1. Introduction

Mondo Rescue (hereinafter referred to as Mondo) can be said to be ghost under Linux, it can be like a picture of your system backup to tape, CD-R,CD-RW,NFS or hard disk partition. Mondo widely supports LVM,RAID,EXT2, ext3, JFS, Xfs,reiserfs,vfat and so on. 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.
Similar to Ghost, in the use of backup, the application should be processed separately from the data backup. That is, using Mondo to back up the basic application configuration of the system, production data is processed using data backup, such as scheduled backup to tape, etc.

2. Pre-Preparation

Before backing up, install and configure the applications that need to be deployed. Then, re-change the system, mount the partitions that need to be backed up, stop the applications that have started, and recommend keeping the system in a "clean" state for backup. There are several ways to back up, and it is recommended that you back up to a local disk first. Therefore, you need to prepare a local free space, sufficient to store the subsequent backup of the disc image.

3. Install the Software

CENTOS7:

ftp://ftp.mondorescue.org/centos/7/x86_64/

Make repo source or download the following software:

mindi-busybox-1.21.1-1.centos7.x86_64.rpm
mindi-3.0.2-1.centos7.x86_64.rpm
perl-io-interface-1.05-2.el7.x86_64.rpm
perl-module-scandeps-1.10-3.el7.noarch.rpm
perl-mondorescue-3.2.2-1.centos7.noarch.rpm
perl-net-ipv4addr-0.10-6.el7.noarch.rpm
perl-projectbuilder-0.14.4-1.centos7.noarch.rpm

buffer-1.19-8.centos7.x86_64.rpm
afio-2.5-1.centos7.x86_64.rpm
mondo-3.2.2-1.centos7.x86_64.rpm

After the package or repo source is ready to complete:

Repo Source: Yum install Mindi Mindi-busybox mondo

Package (performed in software download directory): Yum localinstall mindi Mindi-busybox mondo

4. Start cloning operation

Mondoarchive

Select Backup to local hard drive:

  

Select the backup path:

    

Select the compression rate:

  

If the system is large, in order to facilitate the future burning of the disc, you can put the mirror tile, here Enter the size of each mirror disc:
(General, CD Max 700mb,dvd Max 4300MB)
  
Name of Image:
  
Path to be backed up:
("/" indicates system-wide system, some directories can be excluded later)
  
Directories that need to be excluded from being backed up to disc mirroring:
(usually some temp directory and data Catalog)
  
Here, you will need to verify that the backup image is created:
  
Requires you to confirm whether the standard Linux core, "Yes" can:
  
After confirming, start the backup:
  
Successively collect the necessary file information for future Mindi, such as BusyBox, etc.:
  
To make a backup:
  
Complete:
  
Please note the last log message:

Reference # Mondoarchive
Nitializing ...
See/var/log/mondoarchive.log for details of backup run.
Checking Sanity of your Linux distribution
Done.
Execution run ended; Result=0
Type ' Less/var/log/mondoarchive.log ' to see the output log


Results:

Ref # Ll-h/var/cache/mondo/qktest-1.iso
-rw-r--r--1 root root 2.1G 05-25 15:00/var/cache/mondo/qktest-1.iso

5. Complete

/var/cache/mondo/qktest-1.iso ISO image for cloning

6. Recovery

Mount Mirror Mount System

  

Boot:nuke and enter return

Linux system clone to ISO mirror disk (like win GOST)

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.