Clone/Backup Ubuntu Systems Using Mondo Rescue

Created: January 08, 2014   Last Modified: November 25, 2022   Category: linux   Print this pageBack to Home

Summary

Mondo Rescue is an open source, free disaster recovery and backup utility that allows you to easily create complete system (Linux or Windows) Clone/Backup ISO Images to CD, DVD, Tape, USB devices, Hard Disk, and NFS. And can be used to quickly restore or redeploy working image into other systems, in the event of data loss, you will be able to restore as much as entire system data from backup media. Mondo program is available freely for download and released under GPL (GNU Public License) and has been tested on a large number of Linux distributions. This post describes how to clone/backup Ubuntu system using Mondo Rescue.

Installation

To install Mondo Rescue in Ubuntu 12.10, 12.04, 11.10, 11.04, 10.10 and 10.04 or Linux Mint 13, open the terminal and add the MondoRescue repository in /etc/apt/sources.list file. Run these following commands to install Mondo Resuce packages.

wget ftp://ftp.mondorescue.org/ubuntu/`lsb_release -r|awk '{print $2}'`/mondorescue.sources.list
sudo sh -c "cat mondorescue.sources.list >> /etc/apt/sources.list"
sudo apt-get update
sudo apt-get install mondo

Clone/Backup Ubuntu

After installing Mondo, run the following command as root user to backup the system. Replace [username] with your username and [machine] with any prefix name you want to use for generating ISO files.

mondoarchive -OV -0 -G -E "/home/[username]/Download|/home/[username]/Documents|/home/[username]/Music|/home/[username]/Videos|/home/[username]/Pictures|/home/[username]/Desktop" -i -s 4480m -p "[machine]" -d /

The meaning of the options:

References

For more information, there is a detail explanation at http://www.tecmint.com/how-to-clone-linux-systems/ and http://www.mondorescue.org/docs/mondoarchive.8.html.