瀏覽代碼

Update docs about "source_directories" being optional.

Dan Helfman 2 年之前
父節點
當前提交
80b8c25bba
共有 1 個文件被更改,包括 5 次插入1 次删除
  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.
 
 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