Different backup frequency with 1 config file #699

Closed
opened 2023-05-14 14:12:56 +00:00 by Marcs1974 · 1 comment

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

#### 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
Owner

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.

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.
witten added the
question / support
label 2023-05-14 17:02:46 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#699
No description provided.