Clarify documentation on how /etc/borgmatic.d/ configuration files are interpreted.

This commit is contained in:
Dan Helfman 2019-12-13 11:42:17 -08:00
parent e009bfeaa2
commit afaabd14a8
2 changed files with 9 additions and 8 deletions

View file

@ -22,6 +22,11 @@ When you set up multiple configuration files like this, borgmatic will run
each one in turn from a single borgmatic invocation. This includes, by each one in turn from a single borgmatic invocation. This includes, by
default, the traditional `/etc/borgmatic/config.yaml` as well. default, the traditional `/etc/borgmatic/config.yaml` as well.
Each configuration file is interpreted independently, as if you ran borgmatic
for each configuration file one at a time. In other words, borgmatic does not
perform any merging of configuration files by default. If you'd like borgmatic
to merge your configuration files, see below about configuration includes.
And if you need even more customizability, you can specify alternate And if you need even more customizability, you can specify alternate
configuration paths on the command-line with borgmatic's `--config` option. configuration paths on the command-line with borgmatic's `--config` option.
See `borgmatic --help` for more information. See `borgmatic --help` for more information.

View file

@ -3,15 +3,11 @@ title: How to set up backups with borgmatic
--- ---
## Installation ## Installation
To get up and running, first [install First, [install
Borg](https://borgbackup.readthedocs.io/en/stable/installation.html), at Borg](https://borgbackup.readthedocs.io/en/stable/installation.html), at least
least version 1.1. version 1.1.
By default, borgmatic looks for its configuration files in `/etc/borgmatic/` Then, download and install borgmatic by running the following command:
and `/etc/borgmatic.d/`, where the root user typically has read access.
So, to download and install borgmatic as the root user, run the following
commands:
```bash ```bash
sudo pip3 install --user --upgrade borgmatic sudo pip3 install --user --upgrade borgmatic