From: Thomas Kaminski <kaminski@univention.de>
To: pgsql-admin@postgresql.org
Subject: Re: pg_dump on remote machine
Date: Fri, 08 Apr 2005 16:20:47 +0200
Message-ID: <1112970047.31501.21.camel@anton.knut.univention.de> (raw)
In-Reply-To: <20050408132127.M86625@mail.nplindia.ernet.in>
References: <20050408125139.DC4BD5AF6F5@svr4.postgresql.org>
<20050408132127.M86625@mail.nplindia.ernet.in>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: kaminski@univention.de
Subject: Re: pg_dump on remote machine
In-Reply-To: <1112970047.31501.21.camel@anton.knut.univention.de>
References: <20050408125139.DC4BD5AF6F5@svr4.postgresql.org> <20050408132127.M86625@mail.nplindia.ernet.in> <1112970047.31501.21.camel@anton.knut.univention.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox