MondoRescue HOWTO: Utilisation and Configuration of Mondo and Mindi under Linux (Version 2.2.1-rRRR)
| Chapter 6. Backup |

# 6.2. Backup Commands and Options

Backup Command:

mondoarchive <-option1> <-option2> ... <-optionN>

E.g.,

bash# mondoarchive -E "/mnt/dos /mnt/cdrom" -9 -Oc 8

Would create backup CD to a CD-R disc at the highest compression level, writing at speed 8 and ignoring the /mnt/dos and /mnt/cdrom directories.

To see a detailed list of switches and their meaning, see the HTML man page on the website or type 'man mondoarchive' at the console.

## 6.2.1. Standard Example With CD-R

bash# mondoarchive -Oc 2 -g

Replace '2' in '-Oc 2' with the writer's speed. If mondoarchive cannot find your CD-R then please add '-d 0,0,0' (or whatever your CD writer's SCSI node is; usually, it is 0,0,0) to the call.

Please insert the first disk in the writer while the PC is chugging away. If Mondo needs additional CD-R(W) then it will ask for them.

## 6.2.2. Standard Example With CD-RW

bash# mondoarchive -Ow 2 -g

Replace '2' in '-Ow 2' with the writer's speed.

## 6.2.3. Standard Example With Tape

bash# mondoarchive -Ot -d /dev/st0 -g

## 6.2.4. Standard Example With Failsafe kernel

bash# mondoarchive -k FAILSAFE -Ow 2

If you have problems during the restore phase, due to your kernel (which may be the case on some distributions), you may want to explore the Failsafe approach, In order for this option to work you'll have to get the mindi-kernel tarball or package for your distribution.

## 6.2.5. Standard Example With Network Backup

bash# mount 192.168.1.3:/home/nfs -t nfs /mnt/nfs
bash# mondoarchive -OVn 192.168.1.3:/home/nfs -g -s 200m
bash# umount /mnt/nfs

The resultant ISO's can be burned to CD's if you want (which isn't a good idea unless you're a Mondo expert because they'll try to restore over a network by default, which is silly because the archives are on the CD's). Or, you can boot from the Mindi floppies (or mondorescue.iso) and hit ENTER a few times to restore.

Those ISO images can also be used for a PXE restore. For this to work, please refer to the file README.pxe provided with your mindi package.

Backup |  | HOWTO run mondo interactively using cron