services.borgmatic.settings.repositories
A required list of local or remote repositories with paths and optional labels (which can be used with the --repository flag to select a repository). Tildes are expanded. Multiple repositories are backed up to in sequence. Borg placeholders can be used. See the output of "borg help placeholders" for details. See ssh_command for SSH options like identity file or port. If systemd service is used, then add local repository paths in the systemd service file to the ReadWritePaths list.
- Type
list of (submodule)- Default
[ ]- Example
[ { label = "backupserver"; path = "ssh://user@backupserver/./sourcehostname.borg"; } { label = "local"; path = "/mnt/backup"; } ]- Declared
- <nixpkgs/nixos/modules/services/backup/borgmatic.nix>