Posts backup notifications to a Discord channel via a webhook.
Module: backups.notifications.discord
{
"id": "discord-notify",
"type": "discord",
"url": "https://discord.com/api/webhooks/YOUR_WEBHOOK_ID/YOUR_WEBHOOK_TOKEN"
}- In your Discord server, go to Server Settings → Integrations → Webhooks.
- Create a new webhook for the channel where you want notifications.
- Copy the webhook URL into the
urlfield.
| Key | Required | Purpose |
|---|---|---|
id |
Yes | Unique identifier for this notification. |
url |
Yes | Discord webhook URL. |
- Success: Posts a message with the backup source name and size.
- Failure: Posts the error message.