I got a .dump file from my server (Heroku). As Klaus said, pg_restore is the only way I could restore it in my local.
What I wrote in my terminal was:
pg_restore -c -d [database_name] [dumpfile_name].dump
There are a lot of options you can see in Klaus link of pg_restore 🙂