X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=bin%2FBackupPC_sendEmail;h=3f82313411526ce10a3ba1b1e66c82f76b887620;hb=c2d26ea114f743daeb016d53f6364a45a4e037ae;hp=8357bdcb815fb0f903de199a1b0510aaef4c9bfa;hpb=5b3e6091d542c2e7445d5dd511cdf6e20aec8b8d;p=BackupPC.git diff --git a/bin/BackupPC_sendEmail b/bin/BackupPC_sendEmail index 8357bdc..3f82313 100755 --- a/bin/BackupPC_sendEmail +++ b/bin/BackupPC_sendEmail @@ -194,6 +194,11 @@ foreach my $host ( sort(keys(%Status)) ) { my $numBadOutlook = 0; for ( my $i = 0 ; $i < @Backups ; $i++ ) { my $fh; + # + # ignore partials -> only fulls and incrs should be used + # in figuring out when the last good backup was + # + next if ( $Backups[$i]{type} eq "partial" ); $lastNum = $Backups[$i]{num} if ( $lastNum < $Backups[$i]{num} ); if ( $Backups[$i]{type} eq "full" ) { $lastFull = $Backups[$i]{startTime}