Skip to content

Commit

Permalink
Merge pull request #20 from Obmondo/v1.0.5
Browse files Browse the repository at this point in the history
handle optional variable LOGICAL_BACKUP_S3_ENDPOINT
  • Loading branch information
ashish1099 authored Jul 22, 2024
2 parents 9b512d1 + 3a13cec commit 7c7e557
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions postgres-logical-backup/dump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ ERRORCOUNT=0
POSTGRES_OPERATOR=spilo
LOGICAL_BACKUP_PROVIDER=${LOGICAL_BACKUP_PROVIDER:="s3"}
LOGICAL_BACKUP_S3_RETENTION_TIME=${LOGICAL_BACKUP_S3_RETENTION_TIME:=""}
LOGICAL_BACKUP_S3_ENDPOINT=${LOGICAL_BACKUP_S3_ENDPOINT:-}

function estimate_size {
"$PG_BIN"/psql -tqAc "${ALL_DB_SIZE_QUERY}"
Expand Down

0 comments on commit 7c7e557

Please sign in to comment.