- How-to guides
- Reference guides
Multiple repositories ¶
If you really care about your data, you probably want more than one backup of it. borgmatic supports this in its configuration by specifying multiple backup repositories. Here's an example:
# List of source directories to backup.
# Paths of local or remote repositories to backup to.
When you run borgmatic with this configuration, it invokes Borg once for each configured repository in sequence. (So, not in parallel.) That means—in each repository—borgmatic creates a single new backup archive containing all of your source directories.
Here's a way of visualizing what borgmatic does with the above configuration:
This gives you redundancy of your data across repositories and even potentially across providers.
See Borg repository URLs documentation for more information on how to specify local and remote repository paths.
Improve this documentation
Have an idea on how to make this documentation even better? Use our issue tracker to send your feedback!