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/
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.
Create a new DB and right click on the db, click on tools and restore. Choose your dump and import it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.