PG database migration from Heroku not working

Thanks a lot for sharing!
I followed step-by-step but the last command pg_restore -U postgres -h localhost -p 15432 -d foobar < latest.dump (no ; at the end) had no effects. After checking the database tables, no data was restored at all. I ran the same dump recently on a local DB and it worked. Any clues? Thank you.

That worked for me!
Thanks!!