From cc63dec4c78238f51f30f43d024eab7d412d4b83 Mon Sep 17 00:00:00 2001 From: aido93 <aidos.tanatos@gmail.com> Date: Mon, 29 Jun 2020 17:47:25 +0300 Subject: [PATCH] Update restore.sh --- postgres-restore-s3/restore.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/postgres-restore-s3/restore.sh b/postgres-restore-s3/restore.sh index e3767a4..0fb852c 100644 --- a/postgres-restore-s3/restore.sh +++ b/postgres-restore-s3/restore.sh @@ -84,6 +84,7 @@ psql $POSTGRES_HOST_OPTS -d postgres -c "ALTER EXTENSION citext SET SCHEMA publi psql $POSTGRES_HOST_OPTS -d postgres -c "CREATE EXTENSION IF NOT EXISTS plpgsql;" set -e +pg_restore -v pg_restore $POSTGRES_HOST_OPTS --no-owner --single-transaction -n public -v -d "$POSTGRES_DATABASE" dump.sql echo "Restore complete"