Multiple separate configuration files for a single atticmatic run #15
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#15
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?
Change
atticmatic
andborgmatic
commands to look for and load multiple configuration files from/etc/atticmatic.d/*
or/etc/borgmatic.d/*
, respectively.The idea is that you may want different backup policies for different source directories, and you may want them to write to different repositories. For instance, you may desire one backup configuration for your database data directory, and a different configuration for your user home directories. And ideally, they'd all get backed up by running a single
atticmatic
orborgmatic
command invocation, so you don't need to manage multiple cron entries.With this change, it's unclear how exclude files would work.
Imported from Taiga issue 14 (done). Created on 2015-11-08T23:53:30+0000 by Dan Helfman.
Note that there is a related but different use case: Multiple repositories in a single run, but all with the same configuration file. See https://github.com/witten/borgmatic/pull/13 for more background.
Comment on 2017-07-23T04:44:09+0000 by Dan Helfman.
The multiple repositories use case is implemented in borgmatic 1.1.0+.
Comment on 2017-07-25T03:11:42+0000 by Dan Helfman.
Multiple backup directories are implemented in borgmatic 1.1.3. By default, borgmatic looks for /etc/borgmatic/config.yaml and /etc/borgmatic.d/*
Comment on 2017-07-26T04:24:26+0000 by Dan Helfman.