added readme
This commit is contained in:
33
Readme.md
Normal file
33
Readme.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# 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 wargings 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
|
||||
|
||||
## 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
|
||||
Reference in New Issue
Block a user