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.
|
|
|
# BackupPC-Check
|
|
|
|
|
|
|
|
Verifying BackupPC Backups
|
|
|
|
|
|
|
|
# Install
|
|
|
|
|
|
|
|
## Install dependencies
|
|
|
|
|
|
|
|
``yum -y perl-Statistics-Descriptive``
|
|
|
|
|
|
|
|
## Install Backup-Check
|
|
|
|
|
|
|
|
``cd /root ; git clone ssh://gitea@gitea.fws.fr:3222/fws/BackupPC-Check.git ; sh /root/BackupPC-Check/update.sh``
|
|
|
|
|
|
|
|
## Declare the new Action
|
|
|
|
|
|
|
|
Edit ``/usr/share/BackupPC/sbin/BackupPC_Admin.pl`` file to add this line in **%ActionDispatch** array :
|
|
|
|
|
|
|
|
``"check" => "Check",``
|
|
|
|
|
|
|
|
## Add menu link
|
|
|
|
|
|
|
|
Edit config -> CGI -> CgiNavBarLinks and add name "Check" with link "?action=check".
|
|
|
|
|
|
|
|
# Update
|
|
|
|
|
|
|
|
``sh /root/BackupPC-Check/update.sh``
|