Skip to content

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 ​

FieldDescriptionDefaultRequired
API tokenTOKEN credential profile holding the API token of your Pushover application-✅
User keyYour user key, or the key of a delivery group to reach a whole team-✅
DeviceDevice names, comma-separated. Empty reaches every device of the user-❌
PriorityPriority of every message that reports no failure: Lowest, Low, Normal or HighNormal❌
Failure priorityPriority of a failure: Normal, High or EmergencyHigh❌
SoundName 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 seconds60❌
Expire (seconds)Emergency only: when the alert stops repeating, at most after 10800 seconds3600❌

Setup Guide ​

  1. On pushover.net, copy your User Key from the dashboard. For a team, create a Delivery Group and copy its key instead.
  2. Under Your Applications → Create an Application/API Token, name it DBackup and copy the API Token/Key.
  3. In DBackup: Connections → Channels → New channel → Pushover.
  4. 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.

EventPriority
Test notificationLow
A failure, like a failed backup or restoreFailure priority (High)
Everything elsePriority (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 ​

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