-
Joined on
2025-09-17
Thanks Dan. Confirmed that this issue is fixed in 2.0.12 if I comment out /archive, which has no matched files in it, from the list of roots.
Sheesh. Corner case
As it turns out, there aren't any *.vdi files in /archive right now. There are 3 of them in /home.
Thanks. And now I remember - it's not rsync.net that doesn't support borg 1.4 - they do. The problem is Ubuntu noble, where the latest packaged version of borg is 1.2.8. I'll see if I can upgrade…
Thank you. Unfortunately I can't upgrade borg right now, because rsync.net only supports borg 1.2 😒, but anyway that answers my question. Closing.
I finally got this to work. In short, I had to run systemctl edit borgmatic.service, and enter the following in the override file:
# Allow LVM snapshots to work under systemd. See
#…
Yep. WFM now. Thanks.
Still working on this. I set PrivateDevices=no in the systemd service and verified that it's set, and preloaded the dm_snapshot module besides. In the log I still get "version ioctl failed" and…
borgmatic is running under systemd. The service file is below, only trivially different from the sample one in the source code, per Ubuntu packaging.
As you can see, PrivateDevices=yes. Doh.…
OK, I got a log file with the instrumented lvm.py and verbosity 2. There are lots of DEBUG statements with #1163 in them. The log is below. Note that I have two borgmatic profiles, all.yaml and…
Confirmed that the problem with global excludes is fixed in version 2.0.10. Thanks!
I moved aside the installed /usr/lib/python3/dist-packages/borgmatic/hooks/data_source/snapshot.py, installed your instrumented version, and checked the diff to be sure the instrumented one is in…
Yes. I think that if borgmatic prepends
R /etc/borgmatic.d/vm.yaml
R /run/./borgmatic/bootstrap
+ /etc/borgmatic.d/vm.yaml
+ /run/./borgmatic /bootstrap
That should fix this case…
OK. Trying again, still in borgmatic 2.0.9, although I've seen this behavior since 2.0.7. I don't know if it was present before then.
Here is vm.yaml, same as before:
patterns_from:
-…