11.5 Mondo Backup

mondo mondo-doc

Mondo can be used to backup to DVD. We illustrate a recipe here.

First test things out with:

  # mondoarchive -OVr -d /dev/dvd -9 -I /etc -gF 

This will generate a bootable DVD that also backs up /etc. You can boot from this DVD and then recover files. Alternatively, and more typically, you can recover files running mondorestore. This starts up a basic interface to select files to be recovered.

All of the operation of mondoarchive is controlled by command line options. The -O option says to do a backup, and the -V says to verify the backup. The -r option indicates that a DVD is to be used as the backup media, with /dev/dvd as the device specified with the -d option. The -9 requests the highest level of compression, -g requests the GUI mode, and -F removes a unnecessary request to write a boot floppy.

We can now backup our whole /home and /etc directories. You can specify what to backup on the command line:

  # mondoarchive -OVr -d /dev/dvd -9 -I "/etc /home" -gF

And you can refine this by specifying those directories you do not want backed up:

  # mondoarchive -OVr -d /dev/dvd -9 -I "/etc /home" \
    -E "/home/share /home/kayon/mp3" -gF

Note that the backups will start to take some time - likely to be several hours depending on how much is to be backed up.

One strategy might be to create several backups, each of a specific area of about the size that will fit onto the DVD (compressed). Then cycle through these backup regions, always keeping two backups (the current and the previous).

It seems like one can not have a very long -E list - it segment faults! Somewhere greater than 285.

The log file for modoarchive is /var/log/mondo-archive.log.

Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0