X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 08E5D5358D for ; Fri, 8 Apr 2005 15:20:51 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 27405-08 for ; Fri, 8 Apr 2005 14:20:46 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.173]) by svr1.postgresql.org (Postfix) with ESMTP id B52B9533A8 for ; Fri, 8 Apr 2005 15:20:44 +0100 (BST) Received: from [212.227.126.179] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1DJuLo-0001MP-00 for pgsql-admin@postgresql.org; Fri, 08 Apr 2005 16:20:48 +0200 Received: from [195.90.9.8] (helo=anton) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1DJuLo-0002jY-00 for pgsql-admin@postgresql.org; Fri, 08 Apr 2005 16:20:48 +0200 Received: from anton.knut.univention.de (anton.knut.univention.de [192.168.0.2]) by anton (Postfix) with ESMTP id 1030CB7181 for ; Fri, 8 Apr 2005 16:20:47 +0200 (CEST) Subject: Re: pg_dump on remote machine From: Thomas Kaminski To: pgsql-admin@postgresql.org In-Reply-To: <20050408132127.M86625@mail.nplindia.ernet.in> References: <20050408125139.DC4BD5AF6F5@svr4.postgresql.org> <20050408132127.M86625@mail.nplindia.ernet.in> Content-Type: text/plain Message-Id: <1112970047.31501.21.camel@anton.knut.univention.de> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 08 Apr 2005 16:20:47 +0200 Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:4ad79d65ac46f2345c6ef2e856c1d9ef X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200504/102 X-Sequence-Number: 17115 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