How to restore a PostgreSQL database from dump file in dbeaver?
31 Aug 2023, 23:32 UTC
In our company we have a dump of PostgreSQL database - file db.sql. It weighs 8 Gigabyte. How to restore this database in DBeaver? And we don't have another databases in DBeaver 7.0.5.
I have digged all Internet and haven't found anything how to do this without another database/
1 answer
Accepted answer · original discussion
03 Sept 2023, 23:32 UTC
When you right click on the database you want to restore into, under "Tools" you will find "execute script". This is how you restore a plain-format dump file, which is what db.sql probably is.
This will require you to have psql, but dbeaver will offer to download and install its own copy of it for you.
Your perspective belongs here.
Sign in with a verified account to contribute.
0 question comments
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.