Add optional repository labels so you can select a repository via "--repository yourlabel" at the command-line (#635).
This commit is contained in:
parent
3e8e38011b
commit
61c7b8f13c
3 changed files with 9 additions and 6 deletions
3
NEWS
3
NEWS
|
@ -9,6 +9,9 @@
|
||||||
* #618: Add support for BORG_FILES_CACHE_TTL environment variable via "borg_files_cache_ttl" option
|
* #618: Add support for BORG_FILES_CACHE_TTL environment variable via "borg_files_cache_ttl" option
|
||||||
in borgmatic's storage configuration.
|
in borgmatic's storage configuration.
|
||||||
* #623: Fix confusing message when an error occurs running actions for a configuration file.
|
* #623: Fix confusing message when an error occurs running actions for a configuration file.
|
||||||
|
* #635: Add optional repository labels so you can select a repository via "--repository yourlabel"
|
||||||
|
at the command-line. See the configuration reference for more information:
|
||||||
|
https://torsion.org/borgmatic/docs/reference/configuration/
|
||||||
* #649: Add documentation on backing up a database running in a container:
|
* #649: Add documentation on backing up a database running in a container:
|
||||||
https://torsion.org/borgmatic/docs/how-to/backup-your-databases/#containers
|
https://torsion.org/borgmatic/docs/how-to/backup-your-databases/#containers
|
||||||
* #655: Fix error when databases are configured and a source directory doesn't exist.
|
* #655: Fix error when databases are configured and a source directory doesn't exist.
|
||||||
|
|
|
@ -24,9 +24,10 @@ location:
|
||||||
|
|
||||||
# Paths of local or remote repositories to backup to.
|
# Paths of local or remote repositories to backup to.
|
||||||
repositories:
|
repositories:
|
||||||
- ssh://1234@usw-s001.rsync.net/./backups.borg
|
- path: ssh://k8pDxu32@k8pDxu32.repo.borgbase.com/./repo
|
||||||
- ssh://k8pDxu32@k8pDxu32.repo.borgbase.com/./repo
|
label: borgbase
|
||||||
- /var/lib/backups/local.borg
|
- path: /var/lib/backups/local.borg
|
||||||
|
label: local
|
||||||
|
|
||||||
retention:
|
retention:
|
||||||
# Retention policy for how many backups to keep.
|
# Retention policy for how many backups to keep.
|
||||||
|
|
|
@ -20,9 +20,8 @@ location:
|
||||||
|
|
||||||
# Paths of local or remote repositories to backup to.
|
# Paths of local or remote repositories to backup to.
|
||||||
repositories:
|
repositories:
|
||||||
- ssh://1234@usw-s001.rsync.net/./backups.borg
|
- path: ssh://k8pDxu32@k8pDxu32.repo.borgbase.com/./repo
|
||||||
- ssh://k8pDxu32@k8pDxu32.repo.borgbase.com/./repo
|
- path: /var/lib/backups/local.borg
|
||||||
- /var/lib/backups/local.borg
|
|
||||||
```
|
```
|
||||||
|
|
||||||
When you run borgmatic with this configuration, it invokes Borg once for each
|
When you run borgmatic with this configuration, it invokes Borg once for each
|
||||||
|
|
Loading…
Reference in a new issue