From e04083c6eb68dc62b6354831d9d7313e6d86856f Mon Sep 17 00:00:00 2001 From: Igor Diakonov Date: Fri, 20 Sep 2019 15:27:28 +0300 Subject: [PATCH] Changed psql to pg_restore --- 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 a66d14f..57a793e 100644 --- a/postgres-restore-s3/restore.sh +++ b/postgres-restore-s3/restore.sh @@ -73,7 +73,7 @@ fi echo "Restoring ${LATEST_BACKUP}" -pg_restore $POSTGRES_HOST_OPTS -C -c --if-exists -no-owner -v -d $POSTGRES_DATABASE < dump.sql +pg_restore $POSTGRES_HOST_OPTS -C -c --if-exists -no-owner -v -d $POSTGRES_DATABASE dump.sql echo "Restore complete"