Skip to content

Notifications

Get alerts when backups complete, users log in, restores finish, and more.

Overview

DBackup has two notification layers that work together:

LayerConfigured InPurpose
Per-Job NotificationsJob → Notifications tabAlerts for an individual backup job (success/failure)
System NotificationsSettings → NotificationsGlobal alerts for system-wide events (login, restore, errors, etc.)

Both layers share the same notification channels that you configure under Notifications in the main menu.

Supported Channels

ChannelBest For
DiscordTeam notifications via webhooks
SlackWorkplace communication, DevOps teams
Microsoft TeamsEnterprise environments, Microsoft 365
GotifySelf-hosted push notifications
ntfyTopic-based push (self-hosted or public)
Generic WebhookCustom integrations (PagerDuty, etc.)
TelegramInstant push to chats, groups, and channels
SMS (Twilio)Critical alerts to any mobile phone
Email (SMTP)Formal alerts, per-user notifications

For detailed setup instructions for each channel, see the Notification Channels section.


Per-Job Notifications

Per-job notifications alert you when a specific backup job completes or fails.

Assigning to a Job

  1. Edit a backup job
  2. Go to the Notifications section
  3. Select a notification channel
  4. Choose the trigger condition:
    • Always – Both success and failure
    • On Success – Only when the backup succeeds
    • On Failure – Only when the backup fails

Multiple Channels

You can assign multiple notifications to one job — for example Discord for quick team awareness and Email for formal audit records.

Notification Conditions

ConditionWhen Triggered
AlwaysEvery backup completion
On SuccessOnly successful backups
On FailureOnly failed backups

Recommended Setup

Use CaseCondition
Critical productionAlways
DevelopmentOn Failure only
ComplianceAlways
Team awarenessOn Failure

System Notifications

System notifications cover events beyond individual backup jobs: user activity, restores, configuration backups, and system errors.

Setup

  1. Go to SettingsNotifications tab
  2. Select global channels – Choose which notification channels receive system alerts by default
  3. Enable events – Toggle individual events on or off
  4. Optionally override channels per event

Available Events

Authentication Events

EventDescriptionDefault
User LoginA user logged into the applicationDisabled
User CreatedA new user account was createdDisabled

Restore Events

EventDescriptionDefault
Restore CompletedA database restore completed successfullyEnabled
Restore FailedA database restore failedEnabled

System Events

EventDescriptionDefault
Configuration BackupSystem configuration backup was createdDisabled
System ErrorA critical system error occurredEnabled

Why no backup events?

Backup success/failure notifications are configured per-job (Job → Notifications tab) and are not duplicated in system notifications. This prevents double notifications.

Global vs. Per-Event Channels

  • Global Channels: The default channels used for all events that don't have an explicit override.
  • Per-Event Override: Click the channel button on an event to assign custom channels. A "Custom Channels" badge appears. Click "Reset to Global Channels" to undo.

Notify User Directly

For User Login and User Created events, you can optionally send an email directly to the affected user (e.g., a login notification to the user who logged in, or a welcome email to the newly created user).

Email Channel Required

This feature only works with Email (SMTP) channels. At least one Email channel must be selected for the event.

Modes

ModeBehavior
DisabledNotification goes only to the configured admin channels
Admin & UserNotification goes to admin channels AND a direct email to the user
User onlyNotification goes ONLY to the user's email (admin channels are skipped)

How to Configure

  1. Go to SettingsNotifications
  2. Enable User Login or User Created
  3. Ensure at least one Email channel is selected
  4. A "Notify user directly" dropdown appears below the channel selector
  5. Choose the desired mode

The user's email address is taken from their account profile — no additional configuration needed.

Test Notifications

Each event has a Test button that sends a sample notification through all selected channels using dummy data. Use this to verify your setup before relying on it.


Troubleshooting

For channel-specific troubleshooting, see the individual channel pages:


Best Practices

Notification Strategy

  1. Always notify on failure — Critical for reliability
  2. Consider noise — Too many success notifications get ignored
  3. Use channels appropriately:
    • Discord / Slack: Team visibility
    • Teams: Enterprise communication
    • Gotify / ntfy: Self-hosted push alerts, mobile notifications
    • Telegram: Instant push to any Telegram client
    • SMS (Twilio): Critical failure alerts to mobile phones
    • Generic Webhook: Automation and monitoring tools
    • Email: Audit trail, per-user alerts
  4. Test regularly — Ensure notifications work

Security

  1. Don't log credentials — Use environment variables
  2. Secure webhooks — Don't share webhook URLs publicly
  3. Review recipients — Only needed parties
  4. SMTP over TLS — Encrypt email transport

Next Steps

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