Show
Ignore:
Timestamp:
07/08/07 15:20:06 (7 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1183908006 +0000
git-parent:

[dc9508e04688007cfcb22930170ef2d91f3b2789]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1183908006 +0000
Message:

closes #15

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • zetaback.in

    rdc9508e r53f08ad  
    1717            $RESTORE $RESTORE_HOST $RESTORE_ZFS $TIMESTAMP 
    1818            $LIST $SUMMARY $SUMMARY_EXT $SUMMARY_VIOLATORS 
    19             $FORCE_FULL $EXPUNGE $NEUTERED $ZFS 
     19            $FORCE_FULL $EXPUNGE $NEUTERED $ZFS $SHOW_FILENAMES 
    2020            $VERSION $HELP/; 
    2121$version_string = '0.1'; 
     
    3737  zetaback -v 
    3838 
    39   zetaback [-l | -s | -sx | -sv] [-c conf] [-d] [-h host] [-z zfs] 
     39  zetaback [-l | -s | -sx | -sv] [--files] [-c conf] [-d] [-h host] [-z zfs] 
    4040 
    4141  zetaback -b [-f] [-x] [-c conf] [-d] [-n] [-h host] [-z zfs] 
     
    6666  "v"       => \$VERSION, 
    6767  "f"       => \$FORCE_FULL, 
     68  "files"   => \$SHOW_FILENAMES, 
    6869); 
    6970 
     
    183184Display all ZFS disks in the current store that violate the configured 
    184185retention policy. 
     186 
     187=item --files 
     188 
     189Display the on-disk file representing the backup for each backup named in 
     190the output.  This is useful with the -sv flag to name violating files. 
     191Often times, violators are filesystems that have been removed on the host 
     192machines and zetaback can no longer back them up.  Be very careful if you 
     193choose to automate the removal of such backups as filesystems that would be 
     194backed up by the next regular zetaback run will often show up as violators. 
    185195 
    186196=item -b 
     
    753763    my @st = stat($info->{full}->{$point}->{file}); 
    754764    print "FULL " . pretty_size($st[7]); 
     765    print "\n\tfile: $info->{full}->{$point}->{file}" if($SHOW_FILENAMES); 
    755766  } else { 
    756767    my @st = stat($info->{incremental}->{$point}->{file}); 
    757768    print "INCR from [$info->{incremental}->{$point}->{depends}] " . pretty_size($st[7]); 
     769    print "\n\tfile: $info->{incremental}->{$point}->{file}" if($SHOW_FILENAMES); 
    758770  } 
    759771  print "\n";