From 694d376d15ff9a1baec836c5c1ed7ee0772de309 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 21 Nov 2022 13:33:01 -0800 Subject: [PATCH] Clarify documentation about multiple repositories and separate configuration files (#613). --- NEWS | 1 + docs/how-to/make-backups-redundant.md | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/NEWS b/NEWS index 1be4956..f68f74a 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ * #604: Fix traceback when a configuration section is present but lacking any options. * #607: Clarify examples in include merging and deep merging documentation. * #611: Fix "data" consistency check to support "check_last" and consistency "prefix" options. + * #613: Clarify documentation about multiple repositories and separate configuration files. 1.7.4 * #596: Fix special file detection erroring when broken symlinks are encountered. diff --git a/docs/how-to/make-backups-redundant.md b/docs/how-to/make-backups-redundant.md index 5ad13ee..f77780f 100644 --- a/docs/how-to/make-backups-redundant.md +++ b/docs/how-to/make-backups-redundant.md @@ -42,3 +42,13 @@ potentially across providers. See [Borg repository URLs documentation](https://borgbackup.readthedocs.io/en/stable/usage/general.html#repository-urls) for more information on how to specify local and remote repository paths. + +### Different options per repository + +What if you want borgmatic to backup to multiple repositories—while also +setting different options for each one? In that case, you'll need to use +[a separate borgmatic configuration file for each +repository](https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/) +instead of the multiple repositories in one configuration file as described +above. That's because all of the repositories in a particular configuration +file get the same options applied.