Repository navigation
Borg systemd service not working #7371
Replies: 4 comments 7 replies
|
Did you read the guide with systemd example from borg docs? https://borgbackup.readthedocs.io/en/stable/deployment/automated-local.html |
|
Yeah I saw that but I don't really see why that works and mine doesn't. It's still oneshot service with an execstart that runs a bash script with borg create in it. Maybe I'm missing some salient difference, but it's not clear to me. |
|
I see you are using some %-based variable. Maybe it's unrelaited but there are also small note
|
|
Closing this as outdated: it has seen no activity for a long time and predates the current borg releases. If this still affects you on a current version - borg 1.4.x (stable) or the borg 2.0.0 beta - please open a new discussion with up-to-date details. |
Uh oh!
There was an error while loading. Please reload this page.
I have a systemd service that's intended to backup a BTRFS snapshot of my home directory to remote storage (borgbase). The script works exactly as expected when run manually from a shell, but sleeps indefinitely when run as part of the systemd service. The service config is:
The backup script is
Using strace on the
borg create ...process showed a bunch of lines likeThe file descriptors associated with the process are:
What am I doing wrong here?
Full disclosure, I've cross-posted this from here, but I think maybe this is a better location for it.
All reactions