Browse Source

Added recreating existing tables

pull/118/head
Igor Diakonov 5 years ago
parent
commit
2b3a4a0da3
  1. 2
      postgres-restore-s3/restore.sh

2
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"
Loading…
Cancel
Save