diff --git a/postgres-backup-s3/backup.sh b/postgres-backup-s3/backup.sh index 4cce6ee..b3e4a8f 100644 --- a/postgres-backup-s3/backup.sh +++ b/postgres-backup-s3/backup.sh @@ -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