BackupPC verification helper
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
550 B

5 years ago
Need to install some perl module :
5 years ago
5 years ago
yum -y install perl-JSON perl-Statistics-Descriptive
5 years ago
Update script :
cd BackupPC-Check
git pull ; \cp -vu Check.pm /usr/share/BackupPC/lib/BackupPC/CGI/Check.pm ; \cp -vu en.pm /usr/share/BackupPC/lib/BackupPC/Lang/en.pm
5 years ago
-----
TOO SMALL :
(new_size.last > new_size_q3.last + new_size_q3.last - new_size_q1.last) * 1.5 and new_size.last > new_size_avg.last*6
TOO BIG :
(last=1 and last>4 and new_size.last < new_size_q1.last - new_size_q3.last - new_size_q1.last) * 1.5 and new_size.last < new_size_avg.last/3