Update docs about "source_directories" being optional.

This commit is contained in:
Dan Helfman 2022-08-25 13:24:26 -07:00
parent d1837cd1d3
commit 80b8c25bba

View file

@ -92,7 +92,8 @@ Note that you may need to use a `username` of the `postgres` superuser for
this to work with PostgreSQL.
If you would like to backup databases only and not source directories, you can
specify an empty `source_directories` value (as it is a mandatory field):
specify an empty `source_directories` value (as it is a mandatory field prior
to borgmatic 1.7.1):
```yaml
location:
@ -102,6 +103,9 @@ hooks:
- name: all
```
<span class="minilink minilink-addedin">New in version 1.7.1</span> You can
omit `source_directories` entirely.
### External passwords
If you don't want to keep your database passwords in your borgmatic