Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How restore postgreSQL dump file using pgAdmin?

I've a .dmp file. Want to restore the database from it. Using pgAdmin how can I do it?

like image 927
fatCop Avatar asked May 31 '15 07:05

fatCop


People also ask

How do I restore a dump file in PostgreSQL?

PostgreSQL Dump Import process can be carried out using psql command. You can use the psql utility to recover the SQL script file created by pg_dump, pg_dumpall, or any other tool that creates compatible backup files. You can run the complete script in the dump file with the psql tool.


1 Answers

Within PgAdmin3...

  • Create a new database within the server you are using.
  • Right click this database and choose 'Restore'.
  • Use the 'Browser' button to select your '.dmp' file.
  • Select 'Restore' to start restoring the database.
like image 69
Gareth Flowers Avatar answered Oct 15 '22 15:10

Gareth Flowers