MondoRescue HOWTO: Utilisation and Configuration of Mondo and Mindi under Linux (Version 2.2.4-rRRR)
| Chapter 3. Overview |

# 3.3. Linux Backup

Mondo Rescue and Mindi Linux are used primarily as Linux backup and cloning tools. The fall in prices of CD-RW drives and writable discs will allow current users to keep good backups and future users to leverage the cloning capability.

Tape drives are more likely to suit your needs if you run a larger installation (or have lots of MP3's). Warning! OnStream drives do not play well with Mondo. I do not know why. It is, in my opinion, something which OnStream should look into. Mondo uses fopen(), fread(), fwrite() and fclose() to interact with tape drives. That works for most drives but some drives just don't like that.

Mondo Rescue has been tested thousands of times on various computers. It has worked for them. Thousands of users testify to Mondo's stability and its ease of use. However, please test it on your own system before you rely on it. In fact, do not rely on any software until you have tested it to see if it performs as expected.

To establish that Mondo will behave well in an emergency, please be prepared. Run a test backup as follows:-

- Run mondoarchive without any command-line options.

- Backup a subset of files - e.g. /usr/local - to CD or tape. Say 'yes' when asked if you want to verify them.

- If you are not backing up to CD, please create boot floppies when prompted.

Next, restore archives to your live filesystem.

- When mondoarchive terminates, run mondorestore without any command-line options.

- Insert the CD or the first boot floppy when prompted. Press <Enter>. Wait a moment.

- Select a subset of files to restore, e.g. /usr/local/man and /usr/local/bin. Hit OK.

- Restore files to /tmp or /root/RESTORED or something similar.

- When mondorestore terminates, compare the restored files to the originals using cmp or diff.

Finally, simulate an emergency restore.

- Boot from CD/floppies.

- Select 'Interactive Mode' at boot-time. (Type 'interactive' and hit <Enter>.)

- Hit OK when shown the mountlist. Say 'yes' when asked if you accept the mountlist.

- Select files to restore, e.g. /usr/local/man and /usr/local/bin. Hit OK.

- Restore files to /tmp or /root/RESTORED or something similar.

- When mondorestore terminates, please reboot and compare the restored files to the originals.

FYI, the subroutines to repartition and reformat your drives are very stable. If you are a RAID or LVM user, you might encounter some difficulties when wiping and restoring from scratch because of the sheer range of filesystem layouts and the impossibility of testing Mondo on every single one. If you have trouble, just drop to the command-line and partition/format manually. Then, call mondorestore, select Interactive Mode, and say 'no' when asked if you want Mondo to partition or format your drives for you.

You see, even if you have trouble, you still have two hands and most of the tools you need - lvchange, pvcreate, fdisk, mkraid, etc. - to do it manually. After you have prepped and formatted your drives manually (if you have to), just run mondorestore again and say 'no' when asked if you want to prep or format your drives. What could be easier?

Mindi |  | Windows Backup