From bf45f2dc2181cdd89969b313ddc8ed7badff0448 Mon Sep 17 00:00:00 2001 From: Heuzef Date: Thu, 19 Sep 2019 15:42:19 +0200 Subject: [PATCH] Add all fullsize var --- check_size_consistency.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/check_size_consistency.pl b/check_size_consistency.pl index dad865c..c0f7b38 100644 --- a/check_size_consistency.pl +++ b/check_size_consistency.pl @@ -31,7 +31,9 @@ for ( my $i = 0 ; $i < @backups ; $i++ ) { $fullCnt++; if ( $fullAge < 0 || $backups[$i]{startTime} > $fullAge ) { $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}; } } @@ -61,6 +63,8 @@ $maxErrors = $conf->{MaxXferError} if (defined $conf->{MaxXferError}); print<<"EOF"; Full Size of last backup : $fullSize +Full Size of last -1 : $fullSize1 +Full Size of last -2 : $fullSize2 EOF exit(0);