I’ve set up regular (weekly) backups using services.restic.backups
. Works mostly great except my setup still has some issues and sometimes it fails. I want to get a status report about this. I’m thinking sending a mail using msmtp
.
According to my research, this should be easily set up if I controlled the entire systemd setup using systemd.services.<name>.postStop
. However, the restic service does not seem to expose the underlying systemd interface and so I don’t see how I could make this work. Do you have any ideas?