Duplicacy Alerts with PushOver

After recently falling out with SyncThing, I decided to switch to Duplicacy as its replacement.

Duplicacy Alerts with PushOver

Reyt then;

As you'd expect, I want to receive alerts when a backup job fails or completes.

After some research, I found most suggesting a solution involving healthchecks.io, though it seemed to require more setup than I could be arsed with.

Since I'm already a PushOver user, I chose that route. This guide assumes you’re familiar with setting up and using PushOver.

The first step is to create a configuration file named report.tmpl with the following contents:

{
"BackupResult": "{{.result}}",
"BeginTime": "{{.start_time}}",
"TotalFiles": "{{.total_files}}",
"Storage": "{{.storage_url}}",
"token": "PUTTOKENHERE",
"user": "PUTTOKENHERE",
"message": "Backup {{.result}}. {{.total_files}} files in {{.directory}}",
"title": "Duplicacy Backup Completed"
}

This file should be placed in your config directory.

Since I’m using Unraid, it’s located in the container’s subfolder within the AppData folder. Check your docker in unraid for the /config folder location you have mapped to be sure.

Alternatively, you can use the following command in your Docker console to create/save the file:

cd /config
nano report.tmpl

Save the file with your configuration.

Next, go to the Backups tab in Duplicacy. For each backup job you want to receive a report for, check the “Send Report” option, and paste the following URL:

https://api.pushover.net/1/messages.json Run the backup, and everything should work as expected.

Si’ thi