Re: pg_dump on remote machine - Mailing list pgsql-admin

From Thomas Kaminski
Subject Re: pg_dump on remote machine
Date
Msg-id 1112970047.31501.21.camel@anton.knut.univention.de
Whole thread Raw
In response to pg_dump on remote machine  ("Askar Zaidi" <askar@mail.nplindia.ernet.in>)
Responses Re: pg_dump on remote machine  (Thomas Kaminski <kaminski@univention.de>)
List pgsql-admin
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



pgsql-admin by date:

Previous
From: Brad Nicholson
Date:
Subject: Re: pg_dump on remote machine
Next
From: "David A. Leedom"
Date:
Subject: Automatic Backups