Spaces:
Sleeping
Sleeping
file="/docker-entrypoint-initdb.d/dump.pgdata" | |
dbname=sorbobot | |
echo "Restoring DB using $file" | |
pg_restore -U postgres --dbname=$dbname --verbose --single-transaction < "$file" || exit 1 | |