docker-borgmatic/ntfy
Grant Bevis 7bf390c0dc 🎃 Updated to use the new v1.1.14-1.5.10 base image 2020-10-08 21:31:12 +01:00
..
data/borgmatic.d
.env.template
.gitignore
Dockerfile 🎃 Updated to use the new v1.1.14-1.5.10 base image 2020-10-08 21:31:12 +01:00
README.md
docker-compose.yml
entry.sh

README.md

ntfy notification for Borgmatic Container

Description

This image adds mail notification with ntfy to the docker-bormatic.

Usage

For general usage instuctions see the README of the base image.

Layout

/root/.config/ntfy

Where you can map your own ntfy.yml config to have Borgmatic send notifications

ntfy

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

Example for your borgmatic config.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!"