global-functions: add function to notify via e-mail and telegram

This commit is contained in:
Christian Hesse 2018-10-09 15:46:39 +02:00
parent 977a5d5f5e
commit 5e4ef0ab8f
2 changed files with 40 additions and 0 deletions

View file

@ -16,6 +16,11 @@
:global "email-backup-to" "mail@example.com";
:global "email-backup-cc" "";
# You can send Telegram notifications. Register a bot
# and add the token and chat ids here.
:global "telegram-tokenid" "123456:ABCDEF-GHI";
:global "telegram-chatid" "12345678";
# This defines what backups to generate and what password to use.
:global "backup-send-binary" false;
:global "backup-send-export" true;