From 80b8c25bba240bc5bb55f3c11f992158dbc36e1b Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 25 Aug 2022 13:24:26 -0700 Subject: [PATCH] Update docs about "source_directories" being optional. --- docs/how-to/backup-your-databases.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/how-to/backup-your-databases.md b/docs/how-to/backup-your-databases.md index 6a48528..fba3425 100644 --- a/docs/how-to/backup-your-databases.md +++ b/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 ``` +New in version 1.7.1 You can +omit `source_directories` entirely. + ### External passwords If you don't want to keep your database passwords in your borgmatic