Add note about empty source_directories.

Reviewed-on: https://projects.torsion.org/witten/borgmatic/pulls/358
This commit is contained in:
Dan Helfman 2020-09-21 16:59:18 +00:00
commit d768b50b97

View file

@ -74,6 +74,17 @@ hooks:
Note that you may need to use a `username` of the `postgres` superuser for Note that you may need to use a `username` of the `postgres` superuser for
this to work with PostgreSQL. this to work with PostgreSQL.
If you would like to only backup databases and not source directories, you can
specify an empty `source_directories` field because it is a mandatory field.
```yaml
location:
source_directories: []
hooks:
mysql_databases:
- name: all
```
### Configuration backups ### Configuration backups