Multiple separate configuration files for a single atticmatic run #15

Closed
opened 2018-01-05 05:33:43 +00:00 by import_bot · 3 comments
Collaborator

Change atticmatic and borgmatic 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 or borgmatic 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.

Change `atticmatic` and `borgmatic` 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` or `borgmatic` 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.
Author
Collaborator

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.

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.
Author
Collaborator

The multiple repositories use case is implemented in borgmatic 1.1.0+.


Comment on 2017-07-25T03:11:42+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.
Author
Collaborator

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.

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.
Sign in to join this conversation.
No Milestone
No Assignees
1 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#15
No description provided.