Borgmatic not working with systemd, while runs fine manually
Borgmatic not working with systemd, while runs fine manually
Indeed, the directory I was trying to write was not owned by root. Thanks for the help mate !!
Borgmatic not working with systemd, while runs fine manually
Finally figured it out, thanks @witten .
It was CapabilityBoundingSet=CAP_DAC_READ_SEARCH CAP_NET_RAW
that was causing trouble.
So enabled everything except this.
What purpose does this serve…
Borgmatic not working with systemd, while runs fine manually
That worked !! Is it okay to leave them all disabled ?
Borgmatic not working with systemd, while runs fine manually
[Unit]
Description=borgmatic backup
Wants=network-online.target
After=network-online.target
# Prevent borgmatic from running unless the machine is plugged into power. Remove this line if…
Borgmatic not working with systemd, while runs fine manually
- I use sudo to run borgmatic from command line (I've added /root/.local/bin to sudoers default path). It seems that it's root-level service as I followed the exact instructions from the…
Borgmatic not working with systemd, while runs fine manually
Thanks for quick reply, yes the issue was due to incorrect system path for borgmatic. Now that's fixed and I'm facing a new issue.
Jun 26 16:30:55 alder borgmatic[164247]: CRITICAL…
Borgmatic not working with systemd, while runs fine manually