|
|
|
@ -96,7 +96,7 @@ sub action |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# Using a mathematical formula to calculate the consistency of the average size, for new files, on all backups |
|
|
|
|
#if ( $Backups[-4] ) { # There are enough backup ? |
|
|
|
|
if ( $Backups[-4]->{type} =~ m/^full|incr$/ ) { # There are enough backup ? |
|
|
|
|
my $toobig = 0; |
|
|
|
|
my $toosmall = 0; |
|
|
|
|
my $sizeConsistencyColor = "Tomato"; |
|
|
|
@ -117,11 +117,11 @@ sub action |
|
|
|
|
$sizeConsistencyColor = "MediumSeaGreen"; |
|
|
|
|
$sizeConsistency = "Normal"; |
|
|
|
|
} |
|
|
|
|
#} |
|
|
|
|
#else { |
|
|
|
|
# my $sizeConsistencyColor = "MediumSeaGreen"; |
|
|
|
|
# my $sizeConsistency = "<em>Not enough backups</em>"; |
|
|
|
|
#} |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
my $sizeConsistencyColor = "MediumSeaGreen"; |
|
|
|
|
my $sizeConsistency = "<em>Not enough backups</em>"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Get URL for explore file |
|
|
|
|