root: allow configuration of s3 backup location

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-05-11 02:10:00 +02:00
parent 172bfceb31
commit 96ea7ae09c
1 changed files with 1 additions and 0 deletions

View File

@ -333,6 +333,7 @@ if CONFIG.y("postgresql.s3_backup"):
"region_name": CONFIG.y("postgresql.s3_backup.region", "eu-central-1"), "region_name": CONFIG.y("postgresql.s3_backup.region", "eu-central-1"),
"default_acl": "private", "default_acl": "private",
"endpoint_url": CONFIG.y("postgresql.s3_backup.host"), "endpoint_url": CONFIG.y("postgresql.s3_backup.host"),
"location": CONFIG.y("postgresql.s3_backup.location", ""),
} }
j_print( j_print(
"Database backup to S3 is configured", "Database backup to S3 is configured",