lobaro / restic-backup-docker

A docker container to automate backups with restic
Apache License 2.0
344 stars 113 forks source link

Add Microsoft Teams notification channel #55

Closed erfansahaf closed 3 years ago

erfansahaf commented 3 years ago

I just added Microsoft Teams as a notification channel just like the mail notification.

To use this notification, user must provide their Webhook URL in an environment variable called TEAMS_WEBHOOK_URL. Then it sends the last backup log via a curl request to the desired team after each backup.

Notification preview: image

Feel free to make any change.

Thanks.

erfansahaf commented 3 years ago

@Niondir Could you review it, please? We are planning to use this feature in our stack.

niondir commented 3 years ago

Thanks for the PR and sorry for accepting it a bit late.