Different backup frequency with 1 config file #699
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#699
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?
What I'm trying to do and why
I am trying to backup 2 folders to the same repository
Folder A -> hourly and
Folder B -> daily.
Each source should have separate retention rules.
Steps to reproduce (if a bug)
Can this be done with 1 config file?
The pruning would work because I can specify which archives to prune.
But if I call borgmatic hourly (via cron), how do I prevent borgmatic to take a backup of Folder B ?
Environment
borgmatic version: 1.7.4
borgmatic installation method: Debian
Borg version: 1.2.3
Unfortunately this can't be done with a single configuration file. The good news though is that it easily be done with two! The documentation on that feature is here: https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/
Please let me know if you have any questions on this.