|
|
|
@ -140,7 +140,6 @@ sub action |
|
|
|
|
my $conf = { %$mainConf, %$hostConf }; |
|
|
|
|
my $age = -1; |
|
|
|
|
$check = { |
|
|
|
|
bkp => 0, |
|
|
|
|
new_size => 0, |
|
|
|
|
new_size_avg => 0, |
|
|
|
|
new_size_median => 0, |
|
|
|
@ -158,7 +157,6 @@ sub action |
|
|
|
|
# Push all the sizes in our data set to compute avg sizes |
|
|
|
|
# Exclude backup N°0 as it'll always have much more new data than normal backups |
|
|
|
|
$sizes->add_data($backup->{sizeNew}) unless ( $backup->{num} == 0 ); |
|
|
|
|
$check->{bkp}++; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# Ignore the last backup if it's not full or incr (which means it's either partial or active) |
|
|
|
|