diff --git a/charts/timescaledb-single/scripts/pgbackrest_archive.sh b/charts/timescaledb-single/scripts/pgbackrest_archive.sh index c714ca0d..2e7e8a6d 100644 --- a/charts/timescaledb-single/scripts/pgbackrest_archive.sh +++ b/charts/timescaledb-single/scripts/pgbackrest_archive.sh @@ -17,6 +17,7 @@ if [ -f "${ENV_FILE}" ]; then . "${ENV_FILE}" fi + # PGBACKREST_BACKUP_ENABLED variable is passed in StatefulSet template [ "${PGBACKREST_BACKUP_ENABLED}" = "true" ] || exit 0 diff --git a/charts/timescaledb-single/scripts/pgbackrest_archive_get.sh b/charts/timescaledb-single/scripts/pgbackrest_archive_get.sh index 378ac55e..603511f1 100644 --- a/charts/timescaledb-single/scripts/pgbackrest_archive_get.sh +++ b/charts/timescaledb-single/scripts/pgbackrest_archive_get.sh @@ -6,6 +6,7 @@ echo "Sourcing ${ENV_FILE}" . "${ENV_FILE}" fi + # PGBACKREST_BACKUP_ENABLED variable is passed in StatefulSet template [ "${PGBACKREST_BACKUP_ENABLED}" = "true" ] || exit 1