OpenERP Appliance

Collaboration Works

Installing MondoRescue. System Backup for bare-metal recovery of Linux

Mondo is a GPL disaster recovery solution to create backup media (CD, DVD, tape, network images) that can be used to redeploy the damaged system, as well as deploy similar or less similar systems. In the event of catastrophic data loss, you will be able to restore all of your data [or as much as you want], from bare metal if necessary. Mondo is in use by Lockheed-Martin, Nortel Networks, Siemens, HP, IBM, NASA’s JPL, the US Dept of Agriculture, dozens of smaller companies, and tens of thousands of users. The backup media is created while the system is up and running. Those coming from an HP-UX background may liken MondoRescue to Ignite-UX.

Installing MondoRescue on Ubuntu

$ sudo apt-get install mondo

Installed version: 2.2.7-2

Installing MondoRescue on Red Hat Enterprise Linux / CentOS / ScientificLinux

Mondo is available from the RPMForge repository.

# yum install mondo

Installed version: 2.2.4

Installing the latest version of MondoRescue is highly recommended. The current release of Mondo is 2.2.8-1, and can be obtained from the MondoRescue repository

Install the following binary packages suited for your distribution if they are available at the MondoRescue repository (i.e. afio and buffer are sometimes unavailable meaning that they are not required):

  • afio
  • buffer
  • mindi
  • mindi-busybox
  • mondo
  • mondo-doc

The previous binary packages can be installed from the command line with these commands:

  • RPM based Linux distributions (Red Hat, Fedora, SuSE, etc): rpm -ivh *.rpm (as root)
  • DEB based Linux distributions (Debian, Ubuntu, etc): dpkg -i *.deb (run as root or “sudo dpkg -i *.deb” on Ubuntu)

Most of the time, you’ll be able to download directly the packages suited for your distribution. Currently Mondorescue.org provides packages for :

Older packages are also on the ftp site to help for some old fashion distros/versions.

Running mondoarchive and mondorestore

Run mondoarchive as root or with “sudo” on Ubuntu. The following screenshots show how to create an ISO based backup media:

Now we have an ISO image that can be burnt into a DVD. Our system can be easily redeployed or restored by booting from this DVD. To format and restore all files automatically type “nuke” <ENTER> at the boot prompt (bare-metal recovery).

To restore you also have mondorestore.

NOTE – For migrations in a production environment it’s good practice to use a temporary IP address on the machine to be backed up. This will mean users and services can’t connect to the server during the backup.
NOTE – As the archival is done live on the system, you may want to stop all processes maintaining coherent information, such as RDBMS systems for which the operation could cause a synchronisation data issue.

Video: Bare-metal recovery from CD

Podcast:

Mondo Rescue and Ample

References:

http://www.mondorescue.org
MondoRescue HOWTO
HOWTO run mondo interactively using cron
Bare-metal restore
Linux P2V (physical to virtual) migrations using mondorescue by Hewlett Packard

September 5, 2009 - Posted by | System Backup, Video |

13 Comments »

  1. […] « Previous | […]

    Pingback by HOWTO Backup OpenERP « Open Source Consulting | September 6, 2009 | Reply

  2. […] Installing MondoRescue. System Backup for bare-metal recovery of Linux […]

    Pingback by OpenERP >=5.0.6 on Ubuntu All-in-one installer & updater For Dummies (downloads latest stable branches from launchpad) « Open Source Consulting | September 24, 2009 | Reply

  3. […] Installing MondoRescue. System Backup for bare-metal recovery of …Sep 5, 2009 … The backup media is created while the system is up and running. Those coming from an HP-UX background may liken MondoRescue to … […]

    Pingback by Mondorescue samba | Blackbadgerinc | April 1, 2012 | Reply

    • Typically not unless you have a srtpeaae rider for that coverage.You should check with your home owners coverage. It may cover especially if you have an umbrella policy in place. If you don’t know what an umbrella policy is you should be asking about it. It is one of the best bargains in insurance extension coverage available.If my agent told me he did not know I would ask how long until you can find out. An agent should be more proactive than that.

      Comment by Rudi | September 15, 2013 | Reply

    • bonjour,j’essaie depuis deux seneimas de partager en iscsi ou en nfs depuis openfiler afin de sauvegarder mes KVM proxmox.cela ne fonctionne ni dans un cas ni dans l’autre.Auriez vous une ide9e.Cordialementmerci

      Comment by Eduardo | October 18, 2013 | Reply

  4. recover doesn’t work…. with me…

    Comment by André Verwijs | April 1, 2013 | Reply

  5. Thanks for your sharing. It really helped me to know the details. Someone asked me how to import steel flanges and elbows from China? Why not try Fame Rise Flange Co.,ltd? This is a professional manufacturer for pipe fittings. At the same time, I hope your posts will help more people all over the world.

    Comment by reducer | February 27, 2014 | Reply

  6. Hey there. Thanks a lot for the awesome post.
    Perfectly timed information exactly like what I am hunting for a long time.
    Seriously happy to discover this content and I’d shared on several social networking platforms!

    I have bookmarked this article too for reference down the road as well.
    Talk to you soon!

    Comment by http://www.youtube.com/ | March 10, 2014 | Reply

  7. Despicable Me Minion Rush Hack v.4.17
    Download link: http://bit.ly/1j3b77C

    Instructions:
    1. Download and install.
    2. Connect the device using USB cable.
    3. Select the platform (iOS/Android) and click
    on “Apply cheat” button.
    4. Play the game.

    Comment by Despicable Me Minion Rush Hack v.4.17 | March 19, 2014 | Reply

  8. It’s appropriate tikme to ake some plans forr the future and it’s time to
    be happy. I have read this post and if I could I want too suggest
    you few interesting things or tips. Perhaps you could write next rticles referring to this article.
    I want to read even more things abot it!

    Comment by Ebinee | September 2, 2014 | Reply

  9. Hi. Here are 2 tutorials.
    How to use Mondo Rescue to make a server backup:
    http://www.valoroso.it/perform-server-backup/
    How to use Mondo Rescue to restore a server:
    http://www.valoroso.it/perform-server-restore/

    Comment by Amedeo | December 8, 2014 | Reply

  10. In addition, these cameras could be attached to a PC-based DVR,
    television monitor or standalone VCR and DVR devices
    to capture footage with the area. Due towards the quality,
    simplicity of driving, and constant innovation, the N series
    remains a common seller to the day. The standard we wish to examine is relevance, and that is certainly massively
    required for one to know and have right.

    Comment by Kerri | February 14, 2015 | Reply

  11. Fantastic beat ! I would like to apprentice whilst you
    amend your site, how can i subscribe for a weblog site?
    The account aided me a appropriate deal. I have been tiny bit acquainted of this your broadcast
    provided brilliant transprent concept

    Comment by Sherlyn | April 24, 2015 | Reply


Leave a reply to Amedeo Cancel reply