system-config/playbooks/roles/borg-backup/templates
Ian Wienand 5ca69113fd borg-backup: send explicit email on backup failure
This sets a global BORG_UNDER_CRON=1 environment variable for
production hosts and makes the borg-backup script send an email if any
part of the backup job appears to fail (this avoids spamming ourselves
if we're testing backups, etc).

We should ideally never get this email, but if we do it's something we
want to investigate quickly.  There's nothing worse than thinking
backups are working when they aren't.

Change-Id: Ibb63f19817782c25a5929781b0f6342fe4c82cf0
2021-02-16 14:49:38 +11:00
..
borg-backup.j2 borg-backup: send explicit email on backup failure 2021-02-16 14:49:38 +11:00
borg-mount.j2 borg-backup: add fuse 2020-11-05 11:56:46 +11:00