From 3eabe0dce5498e11cd9a470e8b833626893f1355 Mon Sep 17 00:00:00 2001 From: Tunghsiao Liu Date: Fri, 26 Feb 2016 14:56:31 +0800 Subject: [PATCH] Add config sample for Slack notifications --- duplicity-backup.conf.example | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/duplicity-backup.conf.example b/duplicity-backup.conf.example index 3018511..e9273a6 100644 --- a/duplicity-backup.conf.example +++ b/duplicity-backup.conf.example @@ -387,6 +387,24 @@ MAIL="mailx" # default command for Linux mail #MAIL="msmtp" +# ------------------------------------------------------------------------------ +# NOTIFICATIONS +# ------------------------------------------------------------------------------ +# +# Third-pary notification services. If no NOTIFICATION_SERVICE provided, no +# notifications will be sent. + +# NOTIFICATION_SERVICE="slack" +NOTIFICATION_SERVICE= +NOTIFICATION_FAILURE_ONLY="yes" # send notifications only if there was an error while creating backup + +# Provider: Slack +SLACK_HOOK_URL="https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX" +SLACK_CHANNEL="#general" +SLACK_USERNAME="duplicity-backup" +SLACK_EMOJI="package" + + # ------------------------------------------------------------------------------ # TROUBLESHOOTING # ------------------------------------------------------------------------------