I'm trying to restore a backup dumped from a postgres 8.3 server in a server with postgres 8.4 with this command:
pg_restore --host host --port 5432 --username username --dbname my_db /route/to/backup/b.backup --ignore-version --format=c
But I got this error:
pg_restore: [custom archiver] could not read from input file: end of file
I have done a restore with another Postgres 8.3 server and it worked just fine. My box is a Linux Mint Julia.
Anyone else with this same problem? Any idea?