Project

General

Profile

action #134519

Updated by livdywan over 1 year ago

## Motivation 

 We did not notice e.g. through alerts that backups were not being updated since July 26. 

 See #134489 

 ## Acceptance criteria 
 * **AC1**: Alerts are received when backup jobs fail 

 ## Suggestions 
 * ~cron.service cron.service was failing~ The cron job was failing, but we were never notified about it. The systemd service doesn't fail because of individual jobs. 
 * Use a systemd timer which would give us systemd services alert failures 

 ## Out of scope 
 * Try and see a simple check for the existence of recent backups 

 ``` 
 % journalctl -u cron.service 
 Aug 20 12:00:01 backup-vm rsnapshot[15218]: /usr/bin/rsnapshot alpha: ERROR: Errors were found in /etc/rsnapshot.conf, rsnapshot can not continue. 
 ```

Back