add all fullsize var

master
Heuzef 5 years ago
parent 5ddcf81722
commit 583136eeba
  1. 9
      check_size_consistency.pl

@ -30,7 +30,9 @@ for ( my $i = 0 ; $i < @backups ; $i++ ) {
$fullCnt++; $fullCnt++;
if ( $fullAge < 0 || $backups[$i]{startTime} > $fullAge ) { if ( $fullAge < 0 || $backups[$i]{startTime} > $fullAge ) {
$fullAge = $backups[$i]{startTime}; $fullAge = $backups[$i]{startTime};
$fullSize = $backups[$i]{size}; $fullSize0 = $backups[$i]{size};
$fullSize1 = $backups[$i]{size};
$fullSize2 = $backups[$i]{size};
$fullDur = $backups[$i]{endTime} - $backups[$i]{startTime}; $fullDur = $backups[$i]{endTime} - $backups[$i]{startTime};
} }
} }
@ -61,7 +63,10 @@ $maxErrors = $conf->{MaxXferError} if (defined $conf->{MaxXferError});
print<<"EOF"; print<<"EOF";
Usage: $0 <host> Usage: $0 <host>
Full Size of last backup : $fullSize Full Size of last backup (0) : $fullSize0
Full Size of last -1 : $fullSize1
Full Size of last -2 : $fullSize2
EOF EOF
exit(0); exit(0);

Loading…
Cancel
Save