d33651f
1
2
3
4
5
6
7
8
#!/bin/bash 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