You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I mostly use files in /etc/borgmatic.d that inherit from /etc/borgmatic/config.yaml. Those inherited configs share the {hostname} prefix of the hard-coded archive_name_format but append an application-specific token.
One issue I see is that when the default config is run (I run all of those configs at night) it starts pruning data from App1 and App2, but according to retention rules of the default config.
I think this is because borgmatic considers the timestamp part of host-<timestamp> to be ephemeral and matches all host-* archives, including e.g. host-app1-*.
The text was updated successfully, but these errors were encountered:
I mostly use files in
/etc/borgmatic.d
that inherit from/etc/borgmatic/config.yaml
. Those inherited configs share the{hostname}
prefix of the hard-codedarchive_name_format
but append an application-specific token.Default config:
host-<timestamp>
App1 config:
host-app1-<timestamp>
App2 config:
host-app2-<timestamp>
One issue I see is that when the default config is run (I run all of those configs at night) it starts pruning data from App1 and App2, but according to retention rules of the default config.
I think this is because borgmatic considers the timestamp part of
host-<timestamp>
to be ephemeral and matches allhost-*
archives, including e.g.host-app1-*
.The text was updated successfully, but these errors were encountered: