소스 검색

Add note about empty source_directories

Luke Murphy 4 년 전
부모
커밋
034ade48f2
1개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      docs/how-to/backup-your-databases.md

+ 11 - 0
docs/how-to/backup-your-databases.md

@@ -74,6 +74,17 @@ hooks:
 Note that you may need to use a `username` of the `postgres` superuser for
 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