How to Install Mondo Rescue Disaster Recovery Tool in Linux
To Install Mondo Rescue Disaster Recovery Tool to Backup Linux Systems
Mondo Rescue is an open source backup tool for creating Backup of your entire system in an ISO image format. In Case, any failure you can use this ISO Image to rescue your system. Installation of Mondo Rescue Disaster Recovery Tool is explained in this article.
Installation of Mondo in Linux
On Debian 6
# wget ftp://ftp.mondorescue.org/debian/6/mondorescue.sources.list # sh -c " cat mondorescue.sources.list > > /etc/apt/sources.list" # apt-get update # apt-get install mondo
On Linux Mint/Ubuntu
# wget ftp://ftp.mondorescue.org/ubuntu/`lsb_release -r|awk ' {print $2}' `/mondorescue.sources.list # sh -c " cat mondorescue.sources.list > > /etc/apt/sources.list" # apt-get update # apt-get install mondo
On CentOS/RHEL 6 &ndash 32-Bit
Under “ /etc/yum.repos.d/” , Download the MondoRescue repository as file name “ mondorescue.repo“ .
[root@linuxhelp ~]# cd /etc/yum.repos.d/
[root@linuxhelp ~]# wget ftp://ftp.mondorescue.org/rhel/6/i386/mondorescue.repo
On CentOS/RHEL 6 &ndash 64-Bit
[root@linuxhelp ~]# cd /etc/yum.repos.d/
[root@linuxhelp yum.repos.d]# wget ftp://ftp.mondorescue.org/rhel/6/x86_64/mondorescue.repo
--2016-06-04 11:05:25-- ftp://ftp.mondorescue.org/rhel/6/x86_64/mondorescue.repo
=> “ mondorescue.repo”
Resolving ftp.mondorescue.org... 213.30.161.23
Connecting to ftp.mondorescue.org|213.30.161.23|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /rhel/6/x86_64 ... done.
==> SIZE mondorescue.repo ... 201
==> PASV ... done. ==> RETR mondorescue.repo ... done.
Length: 201 (unauthoritative)
100%[===================================================================================================================> ] 201 --.-K/s in 0s
2016-06-04 11:05:28 (15.0 MB/s) - “ mondorescue.repo” saved [201]
To list repo
[root@linuxhelp yum.repos.d]# ls
CentOS-Base.repo CentOS-Debuginfo.repo CentOS-fasttrack.repo CentOS-Media.repo CentOS-Vault.repo epel.repo epel-testing.repo mondorescue.repo
To install Mondo
Execute the following command to install mondo.
[root@linuxhelp yum.repos.d]# yum install mondo -y
Loaded plugins: aliases, changelog, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, verify, versionlock
Loading support for CentOS kernel ABI
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.excellmedia.net
* epel: epel.mirror.net.in
* extras: centos.excellmedia.net
* updates: centos.excellmedia.net
.
.
Resolving Dependencies
--> Running transaction check
---> Package mondo.x86_64 0:3.2.2-1.rhel6 will be installed
.
.
Installed:
mondo.x86_64 0:3.2.2-1.rhel6
.
.
Complete!
Now Mondo Rescue is successfully installed.
Creating Backup or Cloning ISO Image of Server/System
Execute “ mondoarchive” command as “ root” user.
[root@linuxhelp ~]# mondoarchive
Choose the device, where you want to store your backup files.
Now choose the directory path in your hard disk to store the back file in .iso format.
Mondo Rescue
Select the type of compression.
Choose the size of compression.
Enter the output size for each ISO file, between 700 to 4480 in MB.
Type the prefix name for the ISO file.
Choose the path to take backup. Default “ /” will take the complete system backup. If you want backup only particular directory you can mention the path.
Enter the path if you want to exclude while taking backup. If don’ t want to backup, simply skip it.
Enter the temporary directory path.
Choose scratch directory path.
To backup extended attributes choose “ yes” .
It will find your system’ s kernel path. Select " OK" to continue.
Choose “ yes” to verify the backup after completion.
Then choose “ yes” to proceed.
Now the Backup starts. Please be patient until the backup process is completed.
Now the backup process is completed. Choose “ ok” to return to your shell prompt.
After completing backup you may find the ISO file in the backup location you have chosen. By default it is located under /var/cache/mondo. Here, we have chosen the /backup directory.
[root@linuxhelp ~]# ls /backup
linuxhelp.iso
Burn this ISO file into a DVD/CD and boot your system into that DVD to restore your system by using mondo rescue tool.
To restore the backup type “ nuke” in the boot screen and hit “ enter” to start restoring.
Now the restore process has been started.
Now the restore process is completed, to take into effect type exit to reboot your system.
Error: Package: perl-Module-ScanDeps-1.10-3.el7.noarch (pb)
Requires: perl(:MODULE_COMPAT_5.16.3)
Error: Package: perl-Net-IPv4Addr-0.10-6.el7.noarch (pb)
Requires: perl(:MODULE_COMPAT_5.16.3)
Error: Package: perl-IO-Interface-1.05-2.el7.x86_64 (pb)
Requires: perl(:MODULE_COMPAT_5.16.3)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest