From 4b2d13bc6ddaef07459a73a5e06a38cc5ae00ea3 Mon Sep 17 00:00:00 2001 From: Igor Diakonov Date: Fri, 20 Sep 2019 14:39:15 +0300 Subject: [PATCH] Return back to first variant --- postgres-restore-s3/restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres-restore-s3/restore.sh b/postgres-restore-s3/restore.sh index ba483e3..2fc138e 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 --create -c --if-exists -d $POSTGRES_DATABASE < dump.sql +psql $POSTGRES_HOST_OPTS -c -d $POSTGRES_DATABASE < dump.sql echo "Restore complete"