Question: consistency.prefix #91
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#91
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 see this message with journalctl:
borgmatic[3164]: Since version 1.1.16, if you provide
archive_name_format
, you should also specifyconsistency.prefix
.What does this mean? What is
consistency.prefix
and how do I specify it?It means that, since you're using the
archive_name_format
borgmatic configuration option, you should also supply theprefix
option in theconsistency
section of the configuration file. Here's the comment on that option:The reason for this warning is so that your consistency checks only consider archives with a
prefix
that matches yourarchive_name_format
. If you didn't specify aprefix
, then borgmatic would consistency check all archives, even ones that it didn't create.Hope that helps.
By the way, the same goes for the
prefix
option in theretention
section of borgmatic's configuration. It's even more important to specify in your case, because doing so ensures that borgmatic only prunes archives with a particularprefix
(ideally matching yourarchive_name_format
) instead of all archives.The option and the comment weren't in my config. I have added them now. In the retention section the prefix was already there.
Thanks!