pg_restore: error: input file is too short (read 0, expected 5)

Viewed 19

I have a backup of PostgreSQL database (taken from Heroku) now I want to restore this backup to my local database but it's not working. I tried from CMD and pgadmin, but no luck!

What wrong I am doing?

pg_restore --verbose --clean --no-acl --no-owner -h localhost -U nafuser -d naf latest.dump

pgadmin issue:

pgadmin issue

0 Answers
Related