This image adds mail notification with ntfy to the docker-bormatic.
For general usage instuctions see the README of the base image.
Where you can map your own ntfy.yml
config to have Borgmatic send notifications
Mount your own ntfy.yml
to /root/.config/ntfy/ntfy.yml
to set your backends for ntfy. Alternatively you can interactively send notifications via a command with API keys in line. I've opted to just map my own ntfy.yml
hooks:
before_backup:
- 'ntfy -b pushover -t Borgmatic send "Borgmatic: Backup Starting"'
after_backup:
- 'ntfy -b pushover -t Borgmatic send "Borgmatic: Backup Finished"'
on_error:
- 'ntfy -b pushover -t Borgmatic send "Borgmatic: Backup Error!"'