Browse Source

Added recreating existing tables

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

2
postgres-restore-s3/restore.sh

@ -73,7 +73,7 @@ fi
echo "Restoring ${LATEST_BACKUP}" echo "Restoring ${LATEST_BACKUP}"
psql $POSTGRES_HOST_OPTS -d $POSTGRES_DATABASE < dump.sql
psql $POSTGRES_HOST_OPTS -C -c --if-exists -d $POSTGRES_DATABASE < dump.sql
echo "Restore complete" echo "Restore complete"
Loading…
Cancel
Save