From 034ade48f2649c3f2ef0b5274a63a503ea6ad6e3 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Mon, 21 Sep 2020 17:35:26 +0200 Subject: [PATCH] Add note about empty source_directories --- docs/how-to/backup-your-databases.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/how-to/backup-your-databases.md b/docs/how-to/backup-your-databases.md index 8733c90..d3439f2 100644 --- a/docs/how-to/backup-your-databases.md +++ b/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