Skip to content

Discord โ€‹

Send rich embed notifications to Discord channels via webhooks. Discord is the easiest notification channel to set up โ€” just create a webhook and paste the URL.

Overview โ€‹

  • ๐ŸŽจ Rich Embeds โ€” Color-coded status indicators with structured fields
  • โšก Instant Delivery โ€” Real-time notifications via Discord's webhook API
  • ๐Ÿ”ง Customizable โ€” Set bot username and avatar per notification channel
  • ๐Ÿ“ฑ Cross-Platform โ€” Desktop, mobile, and web notifications via Discord

Configuration โ€‹

FieldDescriptionDefaultRequired
Webhook URLDiscord webhook URLโ€”โœ…
UsernameBot display name in DiscordBackup ManagerโŒ
Avatar URLBot avatar image URLDiscord defaultโŒ

Setup Guide โ€‹

1. Create a Discord Webhook โ€‹

  1. Open your Discord server
  2. Go to Server Settings โ†’ Integrations
  3. Click Webhooks โ†’ New Webhook
  4. Choose the target channel
  5. (Optional) Set a custom name and avatar
  6. Click Copy Webhook URL

Dedicated Channel

Create a dedicated #backups or #alerts channel to keep notifications organized and avoid noise in general channels.

2. Configure in DBackup โ€‹

  1. Go to Notifications in the sidebar
  2. Click Add Notification
  3. Select Discord Webhook
  4. Paste the webhook URL
  5. (Optional) Set a custom username and avatar URL
  6. Click Test to verify
  7. Save

3. Test the Connection โ€‹

Click Test to send a test notification. You should see a message appear in your Discord channel within seconds.

Message Format โ€‹

Discord notifications use rich embeds with colored sidebars:

ColorMeaningEvents
๐ŸŸข GreenSuccessBackup complete, restore finished, user created
๐Ÿ”ด RedFailureBackup failed, restore failed, system error
๐Ÿ”ต BlueInformationalUser login
๐ŸŸฃ PurpleSystemConfig backup

Each embed includes:

  • Title โ€” Event type (e.g., "Backup Successful")
  • Description โ€” Summary message
  • Fields โ€” Structured key-value data (job name, duration, size, etc.)
  • Timestamp โ€” When the event occurred

Multiple Webhooks โ€‹

You can create multiple Discord notification channels pointing to different webhooks. For example:

  • #production-backups โ€” Critical production job alerts
  • #dev-backups โ€” Development environment notifications
  • #system-alerts โ€” Login, restore, and error events

Troubleshooting โ€‹

Invalid Webhook Token โ€‹

Discord returned 401: Invalid Webhook Token

Solutions:

  1. Verify the webhook URL is complete and correct
  2. Check the webhook hasn't been deleted in Discord
  3. Regenerate the webhook in Server Settings โ†’ Integrations

Rate Limited โ€‹

Discord returned 429: You are being rate limited

Cause: Too many messages sent in a short period. Discord limits webhook requests.

Solution: Reduce notification frequency. Avoid setting every job to "Always" notify if you run many jobs per minute.

Webhook Not Found โ€‹

Discord returned 404: Unknown Webhook

Solutions:

  1. The webhook may have been deleted
  2. The channel may have been deleted
  3. Create a new webhook and update the configuration

Best Practices โ€‹

  1. Use dedicated channels โ€” Don't spam general channels
  2. Set meaningful usernames โ€” Use names like "DBackup Production" to identify the source
  3. Notify on failure for most jobs โ€” Reduces noise
  4. Use "Always" for critical production โ€” Never miss a backup result
  5. Protect webhook URLs โ€” Treat them like passwords

Released under the GNU General Public License. | Privacy ยท Legal Notice