Mike Shen <x(dot)shen(at)orcon(dot)net(dot)nz> writes:
> on the old box, we did pg_dump drbooks > drbooks.out
> on the new one, createdb drbooks
> then pg_restore -d drbooks -Fc drbooks.out
> we got error "did not find magic string in the file header"
pg_dump would have produced a plain-text dump, which you should feed to
psql not pg_restore.
regards, tom lane