- Replace your webhook in the
WEBHOOK_URL
variable. - Optionally set
MENTION_ON_FAIL
toTrue
and setDISCORD_USER_ID
if you wish to be @mentioned when a job fails. - Add the script to the
success
&failure
hooks in Autorestic, like so:
locations:
my-location:
from: /data
to: my-backend