Changeset 1967 in MondoRescue for branches/2.2.6/mondo-doc/mondorestore.8


Ignore:
Timestamp:
May 29, 2008, 5:40:05 PM (16 years ago)
Author:
Bruno Cornec
Message:
  • Remove all references to /root/images
  • Fix the lack of support for options in mondorestore by copying what is done for mondoarchive and sharing the functions analyzing the cli (getopt usage)
  • Review the now common handle_incoming_parameters to have it support correctly 2 modes (archiving and restoring)
  • Update mondorestore man page to take in account the options supported now
  • Replace mondorestore options --nuke, --interactive, with -Z nuke, -Z interactive ...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.6/mondo-doc/mondorestore.8

    r1872 r1967  
    4545.B prefix
    4646to specify the name of your ISO images.
    47 By default, mondoarchive names images mondorescue-1.iso, mondorescue-2.iso, ...
     47By default, mondorestore names images mondorescue-1.iso, mondorescue-2.iso, ...
    4848Using
    4949.B -p machine
     
    5252
    5353.TP
     54.BI "-i "
     55Use ISO files (CD images) as restore media. This is good when having backed up your
     56system to a spare hard drive. The
     57.B -n
     58switch is a wiser choice if you plan to restore from a remote filesystem.
     59
     60.TP
     61.BI "-n " mount
     62Use files residing on NFS partition as restore media.
     63.I mount
     64is the remote mount-point, e.g. '192.168.1.3:/home/nfs'
     65for my file server. Please mount it before restoring/verifying.
     66
     67.TP
     68.BI "-t "
     69Use tape streamer as restore device and its tapes as restore media.
     70
     71.TP
     72.BI "-U "
     73Use a generic USB device as restore device. Use this if you want to read
     74your backup from a USB key or USB disk.
     75The USB device should be attached to the system ir order for this to work and
     76its device name passed to the
     77.BR \-d
     78option.
     79
     80.TP
     81.BI "-u "
     82Use a generic streaming device as restore device. Use this if you want to read
     83your backup from a device that is not directly support by mondoarchive. This will
     84get the data directly from a raw device.
     85.B For experienced users only.
     86
     87.TP
     88.BI "-E " "\*(lqpath ...\*(rq"
     89Exclude path(s) from restore (future dev). The paths should be separated with a whitespace.
     90/mnt/cdrom, /proc, /sys, /tmp). For example, if you are restoring up from an NFS mount but you
     91do not want to restore some content, exclude it with that switch.
     92
     93.TP
     94.BI "-I " "\*(lqpath ...\*(rq"
     95Include paths(s) to retore (future dev).
     96
     97.TP
     98.BI "-J " "file"
     99Specify an explicit list of files and directories to restore in a plain text file, one item
     100(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.
     101
     102.TP
     103.BI "-d " "dev|dir"
     104Specify the restore device (CD/tape/USB) or directory (NFS/ISO). For CD-R[W] drives,
     105this is the SCSI node where the drive may be found, e.g. '0,1,0'. For tape
     106users, this is the tape streamers /dev entry, e.g. '/dev/st0'. For USB users,
     107this is the device name of your key or external disk. For ISO users,
     108this is the directory where the ISO images are stored. For NFS users, this is
     109the directory within the NFS mount where the backups are stored. The default
     110for ISO and NFS is '/var/cache/mondo'.
     111
     112.TP
     113.BI "-g "
     114GUI mode. Without this switch, the screen output of mondorestore is text based.
     115
     116.TP
     117.BI "-m "
     118Manual (not self-retracting) CD trays are often found on laptops. If you are
     119a laptop user, your CD burner has BurnProof technology or you experience
     120problems with mondo then please call mondorestore with this switch.
     121
     122.TP
     123.BI "-o "
     124Use OBDR (One Button Disaster Recovery) type of tapes.
     125By default, tapes are not bootable. With this flag, tape will be read as bootable tapes
     126following the OBDR format.
     127
     128.TP
     129.BI "-x " "'dev ...'"
     130Specify non-Linux partitions which you want to restore (future dev).
     131
     132.TP
     133.BI "-T " "path"
     134Specify the full pathname of the tempdir, the directory where temporary files
     135are stored.
     136
     137.TP
     138.BI "-b "
     139Specify the internal block size used by the tape drive. This is usually 32K but
     140some drives just don't like that. They should but they don't. That's what
     141happens when tape drive vendors don't talk to kernel driver writers. Try 512 or
     14216384.
     143
     144.TP
     145.BI "-e "
     146Don't eject the CD or tape when restoring...
     147
     148.TP
     149.BI "-f " "device"
     150Specify the drive on which your Master Boot Record lives. Usually, this is
     151discovered automatically. (future dev)
     152
     153.TP
     154.BI "-Q "
     155Give more detailed information about the boot loader.
     156
     157.TP
    54158.BI "-K " "loglevel"
    55159Specify the loglevel. Use 99 for full debug. Standard debug level is 4.
     160
     161.TP
     162.BI "-z "
     163Use 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.
    56164
    57165.SH DIAGNOSTICS
Note: See TracChangeset for help on using the changeset viewer.