Borgmatic evaluates exclude patterns wrong #149
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#149
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
I have an
exclude_patterns
pattern of*/dirname/*
. Borgmatic evaluates it tomisc/dirname/log.log
because the rest of the directories under there require root access, so it can't read them, but that causes Borg to try to archive them and fail (because they require root access), and the entire backup fails.Why is Borgmatic trying to evaluate my patterns? Why not just pass them to Borg as I entered them?
What version of borgmatic are you using? You can tell with
borgmatic --version
orpip3 show borgmatic
. Current versions of borgmatic do not monkey with the exclude patterns except to expand tildes (which Borg doesn't do).Also, can you include the following on this ticket to aide in debugging? The contents of your borgmatic config file (secrets redacted), and the output of your borgmatic command invocation with
--verbosity 2
?Thanks!
Sorry, you are correct. I thought I upgraded Borgmatic yesterday but I forgot the
--user
option along with-U
and ended up running 1.2.14. 1.3.0 works, sorry for the bother.No worries. Glad that's all it was!
Thank you, and thanks for Borgmatic! By the way, can I plug an OSS project I created to make sure my backups ran? It's called Caduceus and it lets you
curl
a URL as anafter_backup
action. If the URL isn't loaded once every X days, it emails you that your backups aren't running. Maybe you'll find it useful.Cool! Looks handy.. I may have to try that out for my own backups!