leo-bourrel's picture
!feat: Import new sorbobot version
68a9b68
raw
history blame
200 Bytes
#!/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