Backup Server using Mondo Rescue

Good day! Here is a good tool to backup your entire CentOS server called Mondo Rescue.

First step! Download MondoRescue Repository for your Linux OS distribution version using following command:

cd /etc/yum.repos.d/
wget ftp://ftp.mondorescue.org/rhel/6/x86_64/mondorescue.repo

After downloading MondoRescue Repository, run the following command to install MondoRescue.

# yum install mondo

After installing Mondo, Run “mondoarchive” command from “root” user. Then follow steps according to screenshot that shows how to create Backup/Clone in ISO based backup media of your full system.

# mondoarchive

First you need to choose the backup media and press Enter.

mondo-rescue-step-1

Please enter the full path name to the directory for your ISO Images and press Enter.

mondo-rescue-step-2

Now select the type of compression type like: bzip2, gzip, lzo & lzma and press Enter.

mondo-rescue-step-3

Now select the compression level and press Enter.

mondo-rescue-step-4

Please enter how large you want each ISO image in MB (Megabytes) and press Enter.

mondo-rescue-step-5

Please give the name of ISO image filename and press Enter.

mondo-rescue-step-6

Please add the filesystems to backup (separated by “|“). The default filesystem is “/” means full backup.

mondo-rescue-step-7

Please exclude the filesystem that you don’t want to backup like /tmp.

mondo-rescue-step-8

Please enter your temporary directory path or select default one.

mondo-rescue-step-9

Now enter your scratch directory path or select default one.

mondo-rescue-step-10

If you would like to backup extended attributes. Just press “enter“.

mondo-rescue-step-11

It will found full path name of your Kernel.

mondo-rescue-step-12

If you want to Verify your backup, then Click “Yes“

mondo-rescue-step-13

If you want to proceed the backup then click on “Yes”

mondo-rescue-step-14

Creating a catalog of “/” filesystem.

mondo-rescue-step-15

Dividing filelist into sets.

mondo-rescue-step-16

Follow up the other setup and build your backup. You may also take a look at the log file located here:

# /var/log/mondoarchive.log

NOTE : Your backup will be located in /var/cache/mondo/

I ran into a problem with one of my HP Server

Error: Package: perl-IO-Interface-1.05-2.el6.x86_64 (mondorescue)
Requires: perl(:MODULE_COMPAT_5.10.1)

5_10_missing

5.10… 😉 missing!

Have fun!


Fatal error: Uncaught Error: Class "DOMDocument" not found in /home/nciaari7/public_html/wp-content/plugins/shortpixel-image-optimiser/class/Model/FrontImage.php:67 Stack trace: #0 /home/nciaari7/public_html/wp-content/plugins/shortpixel-image-optimiser/class/Model/FrontImage.php(41): ShortPixel\Model\FrontImage->loadImageDom() #1 /home/nciaari7/public_html/wp-content/plugins/shortpixel-image-optimiser/class/Controller/Front/CDNController.php(568): ShortPixel\Model\FrontImage->__construct() #2 /home/nciaari7/public_html/wp-content/plugins/shortpixel-image-optimiser/class/Controller/Front/CDNController.php(366): ShortPixel\Controller\Front\CDNController->extractImageMatches() #3 [internal function]: ShortPixel\Controller\Front\CDNController->processFront() #4 /home/nciaari7/public_html/wp-includes/functions.php(5493): ob_end_flush() #5 /home/nciaari7/public_html/wp-includes/class-wp-hook.php(341): wp_ob_end_flush_all() #6 /home/nciaari7/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() #7 /home/nciaari7/public_html/wp-includes/plugin.php(522): WP_Hook->do_action() #8 /home/nciaari7/public_html/wp-includes/load.php(1308): do_action() #9 [internal function]: shutdown_action_hook() #10 {main} thrown in /home/nciaari7/public_html/wp-content/plugins/shortpixel-image-optimiser/class/Model/FrontImage.php on line 67