- removed matrix_postgres_backup_db_list variable

- add matrix_postgres_backup_databases to be build on top of matrix_postgres_additional_databases
- POSTGRES_DB is now directly set from matrix_postgres_backup_databases while building the templates/env-postgres-backup.j2
This commit is contained in:
foxcris
2021-03-16 11:40:16 +01:00
parent 43f7d9afb6
commit 11cd1cb0fa
4 changed files with 14 additions and 5 deletions

View File

@ -2,7 +2,7 @@
POSTGRES_USER={{ matrix_postgres_backup_connection_username }}
POSTGRES_PASSWORD={{ matrix_postgres_backup_connection_password }}
POSTGRES_HOST={{ matrix_postgres_backup_connection_hostname }}
POSTGRES_DB={{ matrix_postgres_backup_db_list }}
POSTGRES_DB={{ matrix_postgres_backup_databases|map(attribute='name')|join(', ') }}
POSTGRES_EXTRA_OPTS={{ matrix_postgres_backup_extra_opts }}
SCHEDULE={{ matrix_postgres_backup_schedule }}
BACKUP_KEEP_DAYS={{ matrix_postgres_backup_keep_days }}