- Replace your webhook in the
WEBHOOK_URLvariable. - Optionally set
MENTION_ON_FAILtoTrueand setDISCORD_USER_IDif you wish to be @mentioned when a job fails. - Add the script to the
success&failurehooks in Autorestic, like so:
locations:
my-location:
from: /data