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 ​

A job notifies through notification templates:

  1. Edit a backup job and open its Notifications part
  2. Pick a template under Add a template, or make one with New
  3. Save

The part shows each template with its channels, and Who hears about a run below it lists every channel of the job with the runs it hears about. See Creating Jobs.

Multiple Channels ​

A template can name several channels, and a job can use several templates, for example Discord for quick team awareness and Email for formal audit records. A channel that is in two templates of the same job gets two messages after a run, which the job form points out.

Runs ​

Every channel of a template hears about the runs picked for it:

RunWhen Triggered
SucceededThe backup reached every destination
PartialThe backup reached some destinations, others failed
FailedThe backup failed

Recommended Setup

Use CaseRuns
Critical productionSucceeded, Partial and Failed
DevelopmentPartial and Failed
ComplianceSucceeded, Partial and Failed
Team awarenessPartial and Failed

System Notifications ​

System notifications cover events beyond individual backup jobs: sign-ins, restores, storage, health, updates, and the configuration backup.

Setup ​

  1. Go to Settings → Notifications
  2. Use Change in the Default channels strip on top to pick where every event goes unless it has channels of its own
  3. Turn events on or off with the switch in their row
  4. Click an event to open its Edit dialog for its channels, the email to the user, and the reminder

Each row shows where the event goes: the logos and names of its channels marked default or own, Off, or Nowhere yet in amber for an event that is on without a channel to go to. The Notifications entry in the list of parts shows how many events are on, or in amber how many go nowhere.

New channel in the head of the part adds a notification channel without leaving Settings.

Available Events ​

Sign-in Events ​

EventDescriptionDefault
Someone signs inA user signed in to DBackupOff
A user is createdA new account was madeOff

Restore Events ​

EventDescriptionDefault
A restore finishedA database came back from a backupOn
A restore failedA restore stopped with an errorOn

System Events ​

EventDescriptionDefault
The configuration was backed upA configuration backup was madeOff
A system task failedA system task stopped with an error, like the configuration backup. Reported once, then again only after the task ran through in betweenOn

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.

Storage Events ​

EventDescriptionDefault
Storage grows fastThe size of a destination changed a lot between two measurementsOn, reminds every day
Storage nearly fullA destination nears the size limit of its alertOn, reminds every day
A backup is missingA destination got nothing new within the time of its alertOn, reminds every day
An air-gapped destination was skippedA backup run left out an air-gapped destination that was not connected. Sent by the first run that leaves it out, once each time it goes awayOff

The first three are configured per destination on the Backups page: open the Destinations tab, pick the destination and use Edit alerts.

Update Events ​

EventDescriptionDefault
A new version is outDBackup found a newer versionOn, reminds every 7 days

Health Events ​

EventDescriptionDefault
A connection is offlineA source or destination stopped answering its health checksOn, reminds every day
A connection is backAn offline source or destination answers againOn
A database version changedA server reports another version than at its last checkOn

Health checks run every minute. A connection is only reported offline after repeated failures, so a short blip stays quiet.

An air-gapped destination sends neither of the two. To silence the offline and back alerts for another connection, turn off Health alerts in the Behavior part of its edit form. The health checks keep running. Several connections can be switched at once: tick them on the Databases, Directory sources or Destinations tab of Connections and pick Turn off notifications under More.

Integrity Events ​

EventDescriptionDefault
An integrity check failedA backup no longer matches the checksum saved with itOn

Default and Own Channels ​

  • The default channels: every event goes here unless it has its own. Change them with Change in the strip on top of the list. With none picked, only events with channels of their own send anything.
  • Its own channels: Send it to in the Edit dialog of an event picks between the default channels and channels of its own. An event with its own channels needs at least one of them ticked, and its row says own.

Change Several Events at Once ​

Tick events in the list, and the bar that appears offers:

ActionWhat it does
Send toSends every ticked event to the default channels, or to the same own channels
Switch onTurns every ticked event on
Switch offTurns every ticked event off

The filter above the list shows All, On, Off, and Own channels, and Nowhere while an event is on without a channel to go to.

Tell the User Too ​

Someone signs in and A user is created can also email the user themselves, like a sign-in notice to the person who signed in or a welcome email to a new account. Tell the user too in the Edit dialog offers:

ChoiceBehavior
Only the channelsThe notification goes only to the channels of the event
The channels and the userThe channels get it, and the user gets an email too
Only the userOnly the user gets an email, the channels are skipped

Email Channel Required

The email to the user goes out through the Email (SMTP) channels among the channels of the event. Without one, the user gets nothing.

The address comes from the account of the user.

Reminders ​

Some events last, like a connection that stays offline. While they last, they send once more after a set time, and they stop once the problem is over. Remind while it lasts in the Edit dialog picks the default of the event, off, or every 6 hours up to every 7 days. The Reminder column shows what each event does.

EventDefault reminder
Storage events, A connection is offlineEvery day, except An air-gapped destination was skipped, which has none
A new version is outEvery 7 days

Send a Test ​

Send a test in the row of an event, in its menu, or in its Edit dialog sends a sample notification with made-up data to the channels of the event. It also works while the event is off. The message says how many channels took it, and a test that reached nobody counts as failed.


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