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/src/common/mondostructures.h

    r1948 r1967  
    151151   */
    152152    int index;
    153    
     153
    154154  /**
    155155   * Type of disk.
    156156   */
    157157    char type;  // ' ' = data (default), S = spare, F = faulty
    158    
     158
    159159};
    160160
     
    197197} t_archtype;
    198198
     199/**
     200 * A type of file in the catalog of recent archives.
     201 */
     202typedef enum {
     203    nuke = 0,                   /// Nuke mode
     204    interactive,                /// Interactive mode
     205    compare,                    /// Compare mode
     206    mbr,                        /// MBR mode
     207    isoonly,                    /// ISO mode
     208    isonuke,                    /// ISO+Nuke mode
     209} t_restore_mode;
     210
    199211
    200212#ifdef __FreeBSD__
     
    249261       */
    250262    int chunk_size;
    251    
     263
    252264      /**
    253265       * The parity algorithm of this RAID device. (RAID5 only)
     
    571583    bool wipe_media_first;
    572584
    573 // patch by Herman Kuster 
     585// patch by Herman Kuster
    574586  /**
    575587   * The differential level of this backup. Currently only 0 (full backup) and 1
     
    577589   */
    578590    int differential;
    579 // end patch 
     591// end patch
    580592
    581593  /**
     
    611623   */
    612624    bool use_obdr;
     625
     626  /**
     627   * Nature of the restore
     628   */
     629    t_restore_mode restore_mode;
    613630};
    614631
Note: See TracChangeset for help on using the changeset viewer.