Manpage of mondorestore
Section: Maintenance Commands (8)
Return to Main Contents
mondorestore - a restore / disaster-recovery tool.
mondorestore [-p prefix][-K loglevel][-i][-U]...
: restore your PC
restores data previously backed up with
Note that mondorestore will usually automatically be called when booting a
MondoRescue medium. The only exception is booting a MondoRescue medium in
mode in which case mondorestore can be evoked from the command line.
- -p prefix
to specify the name of your ISO images.
By default, mondorestore names images mondorescue-1.iso, mondorescue-2.iso, ...
will use images named machine-1.iso, machine-2.iso, ...
Use ISO files (CD images) as restore media. This is good when having backed up your
system to a spare hard drive. The
switch is a wiser choice if you plan to restore from a remote filesystem.
- -n mount
Use files residing on NFS partition as restore media.
is the remote mount-point, e.g. nfs://192.168.1.3:/home/nfs'
for my file server. Please mount it before restoring/verifying.
Use tape streamer as restore device and its tapes as restore media.
Use a generic USB device as restore device. Use this if you want to read
your backup from a USB key or USB disk.
The USB device should be attached to the system in order for this to work and
its device name passed to the
Use a generic streaming device as restore device. Use this if you want to read
your backup from a device that is not directly support by mondoarchive. This will
get the data directly from a raw device.
For experienced users only.
- -E ``path ...''
Exclude path(s) from restore (future dev). The paths should be separated with a pipe.
For example, if you are restoring up
from an NFS mount but you do not want to restore some content, exclude it with that switch.
- -I ``path ...''
Include paths(s) to restore (future dev).
- -J file
Specify an explicit list of files and directories to restore in a plain
text file, one item (file or directory) per line. Beware that
directories placed in that file are not managed recursively contrary to
what is done with the -I option (future dev).
- -d dev|dir
Specify the restore device (CD/tape/USB) or directory (NFS/ISO). For CD-R[W] drives,
this is the SCSI node where the drive may be found, e.g. '0,1,0'. For tape
users, this is the tape streamers /dev entry, e.g. '/dev/st0'. For USB users,
this is the device name of your key or external disk. For ISO users,
this is the directory where the ISO images are stored. For NFS users, this is
the directory within the NFS mount where the backups are stored. The default
for ISO and NFS is '/var/cache/mondo'.
GUI mode. Without this switch, the screen output of mondorestore is text based.
Manual (not self-retracting) CD trays are often found on laptops. If you are
a laptop user, your CD burner has BurnProof technology or you experience
problems with mondo then please call mondorestore with this switch.
Use OBDR (One Button Disaster Recovery) type of tapes.
By default, tapes are not bootable. With this flag, tape will be read as bootable tapes
following the OBDR format.
- -x 'dev ...'
Specify non-Linux partitions which you want to restore (future dev).
- -T path
Specify the full pathname of the tempdir, the directory where temporary files
Specify the internal block size used by the tape drive. This is usually 32K but
some drives just don't like that. They should but they don't. That's what
happens when tape drive vendors don't talk to kernel driver writers. Try 512 or
Don't eject the CD or tape when restoring...
- -f device
Specify the drive on which your Master Boot Record lives. Usually, this is
discovered automatically. (future dev)
Give more detailed information about the boot loader.
- -K loglevel
Specify the loglevel. Use 99 for full debug. Standard debug level is 4.
Use extended attributes and acl for each file and store them in the
backup media. Use this option if you use SElinux e.g. but it will slow
down backup and restore time of course.
Specify mondorestore mode. Mode could be one of
This mode restore everything like on the original system with no/minimal questions
This mode asks all the questions to the user
This mode just compares the system with the backup
This mode restores from iso images, instead of real media
This mode restores from iso images, instead of real media, with no/minimal questions
This mode just restores the MBR (Master Boot Record)
mondorestore generates an Extremely important file:
When seeking technical support, attach this file to your email.
This log contains important information required to analyse mondorestore
problem reports. Mondo support highly recommends sending this file with
support questions. It's located under /tmp during the restore process
and moved under /var/log at the end.
A link to Mondo's HTML-based manual (by Bruno Cornec, Mikael Hultgren,
Cafeole, Randy Delphs, Stan Benoit, and Hugo Rabson) may be found at
- or in
on your hard drive.
It is recommend that your system has more than 64 MB ram. SCSI device order
change with nuke can have unexpected results. It is recommended you use expert
mode with drastic hardware reconfigurations.
afio(1), bzip2(1), find(1), mindi(8), mondoarchive(8).
Bruno Cornec (lead-development)
Andree Leidenfrost (co-developer)
Hugo Rabson (original author)
Jesse Keating (packaging)
Stan Benoit (testing)
Mikael Hultgren (docs)
See mailing list at http://www.mondorescue.org for technical support.
- SEE ALSO
- ORIGINAL AUTHORS
This document was created by
using the manual pages.
Time: 04:08:40 GMT, August 24, 2011