From: Thomas Kaminski <kaminski@univention.de>
To: Askar Zaidi <askar@mail.nplindia.ernet.in>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dump on remote machine
Date: Mon, 11 Apr 2005 12:17:39 +0200
Message-ID: <1113214659.9945.10.camel@anton.knut.univention.de> (raw)
In-Reply-To: <20050411093056.M63153@mail.nplindia.ernet.in>
References: <20050411093056.M63153@mail.nplindia.ernet.in>
Hello,
> I have been trying to dump my data from one machine to another. I have
> proper configuration in the pg_hba.conf file on both machines. I can connect
> to the remote DB using :
>
> psql -h 172.16.1.39 ha
>
> I then run the command:
>
> pg_dump -h 172.16.1.20 evo10
>
> to get the DB evo10 from machine 172.16.1.20
>
> it displays me a few messgs saying that PostgreSql database dump complete.
>
> Finally I check the machine on which dump was taken but the DB evo10 simply
> does not exist. If the pg_dump is taking a dump without any warning or error
> whatsoever..where is my DB dump???
>
> Any clues??
try
pg_dump -h 172.16.1.20 evo10 > dumpfile.sql
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, askar@mail.nplindia.ernet.in
Subject: Re: pg_dump on remote machine
In-Reply-To: <1113214659.9945.10.camel@anton.knut.univention.de>
References: <20050411093056.M63153@mail.nplindia.ernet.in> <1113214659.9945.10.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