Skip to content

ntfy

Send push notifications via ntfy - a simple, topic-based notification service. Use the public ntfy.sh instance or self-host your own server.

Configuration

FieldDescriptionDefaultRequired
Server URLntfy server URLhttps://ntfy.sh
TopicNotification topic name-
Access TokenBearer token (for protected topics)-
PriorityDefault message priority (1–5)3

Setup Guide

  1. Choose a unique topic name (e.g., dbackup-a8f3k2m9x)
  2. Subscribe to the topic on your device (Android, iOS, or Web)
  3. In DBackup: NotificationsAdd Notificationntfy
  4. Enter Server URL and Topic → TestSave

Public Topics

Anyone who knows your topic name can subscribe to it. Use a long, random name or self-host ntfy with access tokens.

Self-hosting ntfy with Docker
yaml
services:
  ntfy:
    image: binwiederhier/ntfy
    command: serve
    ports:
      - "8090:80"
    volumes:
      - ntfy-cache:/var/cache/ntfy
    environment:
      NTFY_BASE_URL: https://ntfy.example.com

For access control, generate a token: ntfy token add --user=dbackup and paste it into the Access Token field.

Priority Levels

DBackup maps events to ntfy priorities automatically:

EventPriority
Test notification2 (low)
Successful backupConfigured default (3)
Failed backup5 (max, auto-escalated)

Troubleshooting

401/403 - Unauthorized

Verify the access token is correct and has write permission to the topic. Topic names are case-sensitive.

Connection Refused

Ensure the ntfy server is reachable from DBackup. Check firewall rules and verify the URL includes the correct port.

Notifications Not Appearing on Mobile

Verify the ntfy app is subscribed to the exact same topic name and server URL. For self-hosted: ensure WebSocket support is enabled in your reverse proxy.

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