Pushover
Send push notifications to phones and desktops through Pushover, with alerts that get through quiet hours and emergency alerts that repeat until someone acknowledges them.
Prerequisites
- A Pushover account and the Pushover app on every device that should get alerts. The app is a one-time purchase per platform after a 30-day trial.
- An application registered under pushover.net/apps. Each application includes 10,000 messages a month.
Configuration
| Field | Description | Default | Required |
|---|---|---|---|
| API token | TOKEN credential profile holding the API token of your Pushover application | - | ✅ |
| User key | Your user key, or the key of a delivery group to reach a whole team | - | ✅ |
| Device | Device names, comma-separated. Empty reaches every device of the user | - | ❌ |
| Priority | Priority of every message that reports no failure: Lowest, Low, Normal or High | Normal | ❌ |
| Failure priority | Priority of a failure: Normal, High or Emergency | High | ❌ |
| Sound | Name of a Pushover sound, like siren, or of a sound you uploaded. Empty uses the default of the device | - | ❌ |
| Retry (seconds) | Emergency only: how often the alert repeats, at least every 30 seconds | 60 | ❌ |
| Expire (seconds) | Emergency only: when the alert stops repeating, at most after 10800 seconds | 3600 | ❌ |
Setup Guide
- On pushover.net, copy your User Key from the dashboard. For a team, create a Delivery Group and copy its key instead.
- Under Your Applications → Create an Application/API Token, name it
DBackupand copy the API Token/Key. - In DBackup: Connections → Channels → New channel → Pushover.
- Pick or create the credential profile under API token, enter the User key → Send test → Create channel.
The sound names Pushover ships are listed in its API documentation.
How It Works
DBackup sends one HTTPS request to api.pushover.net for every notification. The message shows the fields of the event, and a link opens the run in DBackup when BETTER_AUTH_URL is set.
| Event | Priority |
|---|---|
| Test notification | Low |
| A failure, like a failed backup or restore | Failure priority (High) |
| Everything else | Priority (Normal) |
High alerts bypass the quiet hours of the user. Emergency alerts repeat every Retry seconds until someone acknowledges them in the app or Expire has passed.
Emergency on a job that keeps failing
Every failed run starts its own emergency alert. A job that runs every hour and keeps failing starts a new one every hour, so keep Expire shorter than the interval of the job.
A message holds at most 1024 characters. DBackup leaves out the last fields of a longer one and ends it with ….
Troubleshooting
application token is invalid
Solution: The credential profile holds the user key or an old token. Copy the API Token/Key of the application again.
user identifier is not a valid user, group, or subscribed user key
Solution: Check the User key. A delivery group key works too, but only while the group has at least one member.
device name is not valid for user
Solution: The names under Device must match the names of the devices in your Pushover dashboard. Leave the field empty to reach all of them.
429 - Too Many Requests
Solution: The application used its 10,000 messages of the month. Send fewer events to this channel, like failures only, or register a second application.
Next Steps
- Notifications - which events go to which channel
- Credential profiles - share one API token between channels