importing postgres database dump to local app

Viewed 2949

I have a db dump in pg from heroku. I want to use that db locally as well.

How can we have that database dump imported locally using pgadmin

3 Answers

I use the following, simple and to the point:

pg_restore -d database_name -c ~/database.dump
Related