資料庫照官方文件復原後 #336
資料庫照官方文件復原後 #336
Comments
|
有去找log Traceback (most recent call last): During handling of the above exception, another exception occurred: |
|
有去找log Traceback (most recent call last): During handling of the above exception, another exception occurred: |
底下為官方步驟:
docker cp db_backup_xxxxxxx.sql oj-postgres:/root
docker exec -it oj-postgres bash
psql -U postgres 然后运行 drop database onlinejudge; (请一定注意!!!看清楚自己再哪台机器上)
\q 退出,然后 psql -f /root/db_backup_xxxxxxx.sql -U postgres
執行完畢後,發生兩個問題:
The text was updated successfully, but these errors were encountered: