# Responsibilize your users ! ## Goal You still need to check wether your backups are working You still need (must) to perform regular test files restaurations. But you can also empower your user, and warn them if their backups are tool old ## prerequisites You need a working local mail forwarder. ie you should be able to successfully use the "mail" command. It won't do if your warnings goes to the spam folder. ## Installation Just download the script, make it executable, and create a cronjob / systemd timer to run it daily ## Configuration For each client you want to check with this script, insert into client conf file the following 2 parameters: * warn=X # X is the max age (in days) of latest backup * email=Y # is the email of the person to warn example: ```inifile password=NopeNopeNopeNope! directory=/srv/backups/Constans keep=15 keep=4 warn=7 mail=thomas@opendoor.fr ``` ## Customization The email will be sent as the account used for the cronjob (it does not need to be root) The message sent can be customized at ligne 23