Hello,
> Iam trying to take a dump of my DB from one machine to another in
this
> fashion:
>
> on the secondary database:
>
> pg_dump -b -h 172.16.1.20 (dbname) > /tmp/dump.dump
Can you get connect with
psql -h 172.16.1.20 (dbname)
I think, you /etc/pg_hba.conf must be configured to grant this access.
And don't forget to reload the postmaster after this.
Look in the log of postgresql.
Bye Thomas