Closed newzac0 closed 4 months ago
In powershell or bash, run this commands
docker exec -i CONTAINERNAME-postgres-db-1 psql -U ballsdex -d ballsdex -c "DROP SCHEMA public CASCADE; CREATE SCHEMA public;"
docker exec -i CONTAINERNAME-postgres-db-1 psql -U ballsdex -d ballsdex < data-dump.sql
Thank you so much!
Okay so I was able to make a backup of my data but I have no idea how to restore from it now. Backup was made using this tutorial