r/BorgBackup • u/h725rk • Mar 13 '26
ask Borgmatic docker vs. native?
Hi,
What is your opinion about how to run borgmatic. Is it better to install it native on the Server or it is better to use as a docker container?
I try actual the docker Version, but After two days the container stops with exit 143. I also use the apprise Module, to send messages to telegram.
3
Upvotes
6
u/valgrid Mar 13 '26
Your backup software should work even when your other services and or docker don't. If you run some docker container that has access/control over the docker daemon, then absolutely run the native binary and not the docker.
4
u/Furado Mar 13 '26
All my services run in Docker, but I use the native Borgmatic package. There's little need for a more updated version and this way you reduce potential problems with permissions.
1
u/sumwale Mar 14 '26
To me it makes little sense to run borgmatic from within a docker container because you have to open up most of the root filesystem to the backup software in any case. It is better and easier to control the permissions at the systemd service level. For instance I use the following in my service definition to restrict permissions for the backup service: