diff --git a/postgres-restore-s3/restore.sh b/postgres-restore-s3/restore.sh index d7bc863..ba483e3 100644 --- a/postgres-restore-s3/restore.sh +++ b/postgres-restore-s3/restore.sh @@ -73,7 +73,7 @@ fi echo "Restoring ${LATEST_BACKUP}" -psql $POSTGRES_HOST_OPTS -C -c --if-exists -d $POSTGRES_DATABASE < dump.sql +psql $POSTGRES_HOST_OPTS --create -c --if-exists -d $POSTGRES_DATABASE < dump.sql echo "Restore complete"