Mondo Rescue and Mindi Linux HOWTO


Chapter 7. Backup


7.2. Backup Command and Options

Backup Command:

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


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 2 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.

7.2.1. Standard Example With CD-R

bash# mondoarchive -Oc 2 -g

Replace '2' in '-Oc2' 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.

7.2.2. Standard Example With CD-RW

bash# mondoarchive -Ow 2 -g

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

7.2.3. Standard Example With Tape

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

With previous versions of Mondo, you needed to specify the size of the tape. As of v1.51, that is no longer necessary.

7.2.4. Failsafe Kernel Example w/CD-RW

bash# mondoarchive -k FAILSAFE -Ow 2

Due to slight policy differences in the Debian distribution approach, the '-k FAILSAFE' option is typically needed with Debian.

7.2.5. Network backup example

bash# mount -t nfs /mnt/nfs
bash# mondoarchive -OVn -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 cos 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.