Andrew Schulman andrew-schulman
0 followers · 0 following
Block user

Please note that blocking a user has other effects, such as:

  • You will stop following each other and will not be able to follow each other.
  • This user will not be able to interact with the repositories you own, or the issues and comments you have created.
  • You will not be able to add each other as repository collaborators.
  • Joined on 2025-09-17
andrew-schulman commented on issue borgmatic-collective/borgmatic#1211 2025-12-29 19:19:40 +00:00
Snapshots cause incorrect error "runtime directory /run/borgmatic overlaps with the configured excludes"

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.

andrew-schulman commented on issue borgmatic-collective/borgmatic#1211 2025-12-23 22:10:12 +00:00
Snapshots cause incorrect error "runtime directory /run/borgmatic overlaps with the configured excludes"

As it turns out, there aren't any *.vdi files in /archive right now. There are 3 of them in /home.

andrew-schulman opened issue borgmatic-collective/borgmatic#1211 2025-12-23 16:48:50 +00:00
Snapshots cause incorrect error "runtime directory /run/borgmatic overlaps with the configured excludes"
andrew-schulman commented on issue borgmatic-collective/borgmatic#1196 2025-12-01 20:10:34 +00:00
LVM snapshots mangle directory names

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…

andrew-schulman commented on issue borgmatic-collective/borgmatic#1196 2025-12-01 17:57:03 +00:00
LVM snapshots mangle directory names

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.

andrew-schulman closed issue borgmatic-collective/borgmatic#1196 2025-12-01 17:57:03 +00:00
LVM snapshots mangle directory names
andrew-schulman opened issue borgmatic-collective/borgmatic#1196 2025-12-01 13:23:30 +00:00
LVM snapshots mangle directory names
andrew-schulman opened issue borgmatic-collective/borgmatic#1195 2025-12-01 12:39:41 +00:00
LVM snapshots override global patterns
andrew-schulman commented on issue borgmatic-collective/borgmatic#1163 2025-11-30 22:03:12 +00:00
LVM snapshots fail under systemd

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
#…
andrew-schulman commented on issue borgmatic-collective/borgmatic#1163 2025-11-12 11:23:10 +00:00
LVM snapshots fail under systemd

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…

andrew-schulman commented on issue borgmatic-collective/borgmatic#1163 2025-11-06 11:47:07 +00:00
LVM snapshots fail under systemd

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.…

andrew-schulman commented on issue borgmatic-collective/borgmatic#1163 2025-11-03 17:17:55 +00:00
LVM snapshots fail under systemd

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…

andrew-schulman commented on issue borgmatic-collective/borgmatic#1163 2025-10-27 17:41:44 +00:00
LVM snapshots fail under systemd

Thanks. On vacation this week. Will take another look on Monday.

andrew-schulman commented on issue borgmatic-collective/borgmatic#1150 2025-10-25 10:37:37 +00:00
[Borgmatic 2.0.8] The runtime directory overlaps with the configured excludes or patterns with excludes.

Confirmed that the problem with global excludes is fixed in version 2.0.10. Thanks!

andrew-schulman commented on issue borgmatic-collective/borgmatic#1163 2025-10-25 10:30:04 +00:00
LVM snapshots fail under systemd

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…

andrew-schulman commented on issue borgmatic-collective/borgmatic#1163 2025-10-17 23:09:33 +00:00
LVM snapshots fail under systemd

Yes, I’m happy to do that.

andrew-schulman commented on issue borgmatic-collective/borgmatic#1150 2025-10-17 23:08:29 +00:00
[Borgmatic 2.0.8] The runtime directory overlaps with the configured excludes or patterns with excludes.

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…

andrew-schulman commented on issue borgmatic-collective/borgmatic#1163 2025-10-17 09:42:14 +00:00
LVM snapshots fail under systemd

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:
  -…