Borg patterns is broken #977
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'm trying to do and why
Hello!
After update to 1.9.6 it is unable to use borg patterns. Whatever you write in appropriate sections will be prepended with 'fn' prefix.
Possible solution is in PR #976
Steps to reproduce
Write something like in config:
And execute borgmatic in dry-run, for example. You will see
'fn:sh:**/directory'in logs.Actual behavior
No response
Expected behavior
Exact pattern templates should not be changed.
Other notes / implementation ideas
No response
borgmatic version
1.9.6
borgmatic installation method
Gentoo portage
Borg version
borg 1.4.0
Python version
Python 3.12.8
Database version (if applicable)
No response
Operating system and version
No response
Thank you so much for finding and fixing this! I think I just totally spaced on the fact that
exclude_patternscan actually be patterns and aren't just plain ol' paths. Anyway, my comments are on the PR.PR merged! I'll put out a release with this shortly.
Released in borgmatic 1.9.7!