Aleksandar N. Kostadinov akostadinov
akostadinov opened issue borgmatic-collective/borgmatic#1226 2026-01-06 13:22:10 +00:00
LVM snapshots feature fails to update patterns paths without a leading slash
akostadinov commented on issue borgmatic-collective/borgmatic#962 2026-01-06 13:13:26 +00:00
LVM snapshots and exclude list

Huh. I can't seem to repro this. When I put a path into exclude_patterns, borgmatic outputs it with the fm: prefix

Thank you for looking, I didn't retest this with 2.0.13, my bad, it is…

akostadinov commented on issue borgmatic-collective/borgmatic#962 2026-01-04 11:37:47 +00:00
LVM snapshots and exclude list

After some more investigation I see two remaining issues:

  1. The default fm: pattern for excludes that I describe in my previous comment.
  2. When the pattern is specified properly as an…
akostadinov commented on issue borgmatic-collective/borgmatic#962 2026-01-03 11:20:37 +00:00
LVM snapshots and exclude list

While on it, another issue I notice is that borgmatic does not include a proper default fm: pattern prefix when adding the exclude_from entries to the patterns. fm: is the default prefix for…

akostadinov commented on issue borgmatic-collective/borgmatic#962 2026-01-03 11:15:01 +00:00
LVM snapshots and exclude list

I see where the issue is and I think this issue has to be reopened. In my log file you can see:

R /etc/borgmatic.d/home.yaml
+ /etc/borgmatic.d/home.yaml
R /run/user/0/./borgmatic/bootstrap…
akostadinov commented on issue borgmatic-collective/borgmatic#962 2026-01-02 16:22:20 +00:00
LVM snapshots and exclude list

Fails for me when I prefix all my exclude patterns with pf:..., sh:..., etc., see borgmatic_fail.log

akostadinov commented on issue borgmatic-collective/borgmatic#1220 2026-01-02 16:20:56 +00:00
LVM logical volumes not cleaned-up on failure

For some reason I've got another locking timeout. Although no backup was interrupted or failed. Anyway, please see the log attached.

Also another issue captured by this log is that my exclude…

akostadinov commented on issue borgmatic-collective/borgmatic#1220 2026-01-02 12:02:26 +00:00
LVM logical volumes not cleaned-up on failure

I'm not sure how to create a reproducer now I have the lock cleared. So I asked AI to see what the issue might be and it figured out a try/finally would be needed to assure LVM snapshot clean-up. …

akostadinov opened issue borgmatic-collective/borgmatic#1220 2026-01-01 16:02:50 +00:00
LVM logical volumes not cleaned-up on failure
akostadinov commented on issue borgmatic-collective/borgmatic#790 2025-03-19 17:21:54 +00:00
Run before_backup once (with multiple repositories)

The cryptsetup close should run between umount and lvm snapshot removal (this is also after the actual backup has taken place). Otherwise source will be mounted and cryptsetup close will…

akostadinov commented on issue borgmatic-collective/borgmatic#790 2025-03-16 18:54:03 +00:00
Run before_backup once (with multiple repositories)

My bad! I was searching the docs for hook and didn't spot preparation and cleanup steps.

It makes a lot more sense now.

It looks much more robust. Two questions come to mind about the…

akostadinov commented on issue borgmatic-collective/borgmatic#1028 2025-03-16 18:18:25 +00:00
Clarification about backing up repokey

Thank you. Ideally the message would show a borgmatic command but I assume that might be hacky in case that's the borg command output.

akostadinov closed issue borgmatic-collective/borgmatic#1028 2025-03-16 18:18:25 +00:00
Clarification about backing up repokey
akostadinov opened issue borgmatic-collective/borgmatic#1028 2025-03-16 17:54:21 +00:00
Clarification about backing up repokey
akostadinov commented on issue borgmatic-collective/borgmatic#790 2025-03-16 17:46:31 +00:00
Run before_backup once (with multiple repositories)

Thanks a lot! Would be nice to have these hooks documented. I make some sense out of the examples but I feel like guessing. Not urgent because I'm doing other setup before looking into upgrading…

akostadinov commented on issue borgmatic-collective/borgmatic#790 2025-03-12 09:59:24 +00:00
Run before_backup once (with multiple repositories)

So xfsfreeze and cryptsetup will possibly be implementable in this way? Sorry it was not clear from the example and it is fine for me to wait until the documentation is ready.

akostadinov commented on issue borgmatic-collective/borgmatic#790 2025-01-13 19:55:29 +00:00
Run before_backup once (with multiple repositories)

As advised, I'm pasting here my precise hooks that cover my use case pretty well. So that it can be considered…

akostadinov commented on issue borgmatic-collective/borgmatic#790 2025-01-13 11:07:33 +00:00
Run before_backup once (with multiple repositories)

Just so you get a consistent picture of the filesystem without the services modifying it?

correct

And the snapshot itself isn't sufficient to accomplish that?

There are possible…

akostadinov commented on pull request borgmatic-collective/borgmatic#964 2025-01-12 21:41:28 +00:00
Apply snapshot path rewriting to excludes and patterns, not just source directories (#962).

Hi, is this PR supposed to also incorporate a fix for discovering nested LVM mounts as described in https://github.com/borgmatic-collective/borgmatic/pull/87 ?

akostadinov commented on issue borgmatic-collective/borgmatic#303 2025-01-12 20:18:51 +00:00
Set borgmatic command-line flag defaults in config file

Specifically the logging options like --verbosity. Because on Fedora systemd would record the output, no need for syslog.