Closed Ingvarhost closed 5 years ago
You can add something like this to your config file:
run_after_backup = ['notify-send "backup succeeds"']
That will only run if there are no errors and it should raise a notification.
Thanks for the idea. As a result, I used the following:
run_after_backup = ['echo "" | mail -s "Backup succeeds on {host_name}" root@localhost']
Is it possible to make optional email notifications upon successful completion of a backup?