Browse Source

Update docs about "source_directories" being optional.

Dan Helfman 2 years ago
parent
commit
80b8c25bba
1 changed files with 5 additions and 1 deletions
  1. 5 1
      docs/how-to/backup-your-databases.md

+ 5 - 1
docs/how-to/backup-your-databases.md

@@ -92,7 +92,8 @@ 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 backup databases only and not source directories, you can
 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
 ```yaml
 location:
 location:
@@ -102,6 +103,9 @@ hooks:
         - name: all
         - name: all
 ```
 ```
 
 
+<span class="minilink minilink-addedin">New in version 1.7.1</span> You can
+omit `source_directories` entirely.
+
 ### External passwords
 ### External passwords
 
 
 If you don't want to keep your database passwords in your borgmatic
 If you don't want to keep your database passwords in your borgmatic