|
|
@ -45,7 +45,7 @@ export AWS_DEFAULT_REGION=$S3_REGION |
|
|
|
export PGPASSWORD=$POSTGRES_PASSWORD |
|
|
|
POSTGRES_HOST_OPTS="-h $POSTGRES_HOST -p $POSTGRES_PORT -U $POSTGRES_USER" |
|
|
|
|
|
|
|
echo "Creating dump of ${POSTGRES_DATABASE} database) from ${POSTGRES_HOST}..." |
|
|
|
echo "Creating dump of ${POSTGRES_DATABASE} database from ${POSTGRES_HOST}..." |
|
|
|
|
|
|
|
pg_dump $POSTGRES_HOST_OPTS $POSTGRES_DATABASE | gzip > dump.sql.gz |
|
|
|
|
|
|
|