Changeset 2715 in MondoRescue for branches/2.2.10/mondo-doc


Ignore:
Timestamp:
Feb 2, 2011, 1:18:23 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • Document in man page and HOWTO the previous syntax modifications for -E/-I options and '|' separator
  • Fix #444. mondoarchive now supports inclusion/exclusion of dirs with spaces in their name. this required a syntax change for the -E/-I options where the list of dirs needs to be separated by '|' now instead of ' '.
  • Fix issus with mindi when launched from a dir containing spaces
  • Fix a but when no -E option is give on CLI (null) string generated
  • Fix #459 by correcting an old README containing info on the edit-mountlist binary which doesn't exist.

svn merge -r 2709:2714 svn+ssh://bruno@svn.mondorescue.org/mondo/svn/mondorescue/branches/2.2.9 .

Location:
branches/2.2.10/mondo-doc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo-doc/mondoarchive.8

    r2546 r2715  
    158158.TP
    159159.BI "\-E " "\*(lqpath ...\*(rq"
    160 Exclude path(s) from backup. The paths should be separated with a whitespace and surrounded by quotes.
     160Exclude path(s) from backup. The paths should be separated with a pipe and surrounded by quotes.
    161161This is the prefered and recommended option when doing partial archiving.
    162162Note that mondo automatically excludes removable media (/mnt/floppy,
     
    170170archived so it won't do what you expect.
    171171You may also specify full disk device to this option as with \-E
    172 \*(lq/dev/sda /dev/cciss/c0d0\*(rq
     172\*(lq/dev/sda|/dev/cciss/c0d0\*(rq
    173173
    174174.TP
    175175.BI "-I " "\*(lqpath ...\*(rq"
    176 Include paths(s) in backup. This option is mainly use to perform tests
     176Include paths(s) in backup. The paths should be separated with a pipe and surrounded by quotes.
     177This option is mainly use to perform tests
    177178in order to reduce the time taken by the archiving operation.
    178179The default backup path is \*(lq/\*(rq but you may specify alternatives,
    179 e.g. \-I \*(lq/home /etc\*(rq to override that.
     180e.g. \-I \*(lq/home|/etc\*(rq to override that.
    180181You may also specify full disk device to this option as with \-I
    181 \*(lq/dev/sda /dev/cciss/c0d0\*(rq
     182\*(lq/dev/sda|/dev/cciss/c0d0\*(rq
    182183N.B.: When using the
    183184.BR \-I
  • branches/2.2.10/mondo-doc/mondorescue-howto.sgml

    r2623 r2715  
    13341334<entry>
    13351335
    1336 bash# mondoarchive -E "/mnt/dos /mnt/cdrom" -9 -Oc 8
     1336bash# mondoarchive -E "/mnt/dos|/mnt/cdrom" -9 -Oc 8
    13371337
    13381338</entry>
     
    15611561
    15621562        # mondoarchive -D -Ow 10 -S /home/mondo/ -T /home/mondo/ -g \
    1563         -E "\"/home/cdaly/GIS/W2K /home/mondo/\"" -9
     1563        -E "/home/cdaly/GIS/W2K|/home/mondo" -9
    15641564
    15651565</entry>
     
    15751575    # at now + 5 min
    15761576mondoarchive -D -Ow 10 -S /home/mondo/ -T /home/mondo/ -g \
    1577 -E "\"/home/cdaly/GIS/W2K /home/mondo/\"" -9
     1577-E "/home/cdaly/GIS/W2K|/home/mondo" -9
    15781578&lt;CTRL&gt;-d
    15791579</entry>
     
    16531653}
    16541654screen -m -d mondoarchive -D -Ow 10 -S /home/mondo/ \
    1655 -T /home/mondo/ -g -E "\"/home/cdaly/GIS/W2K /home/mondo/\"" -9
     1655-T /home/mondo/ -g -E "/home/cdaly/GIS/W2K|/home/mondo" -9
    16561656#done
    16571657
     
    16631663<row>
    16641664<entry>
    1665         screen -m -d mondoarchive -D -Ow 10 -S /home/mondo/ -T /home/mondo/ -g -E "\"/home/cdaly/GIS/W2K /home/mondo/\"" -9
     1665        screen -m -d mondoarchive -D -Ow 10 -S /home/mondo/ -T /home/mondo/ -g -E "/home/cdaly/GIS/W2K|/home/mondo" -9
    16661666</entry>
    16671667</row>
  • branches/2.2.10/mondo-doc/mondorestore.8

    r2546 r2715  
    8787.TP
    8888.BI "-E " "\*(lqpath ...\*(rq"
    89 Exclude 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
     89Exclude path(s) from restore (future dev). The paths should be separated with a pipe.
     90For example, if you are restoring up
    9191from an NFS mount but you do not want to restore some content, exclude it with that switch.
    9292
Note: See TracChangeset for help on using the changeset viewer.