Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id E277E633DB5 for ; Mon, 9 Aug 2010 21:16:58 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 28451-01-2 for ; Tue, 10 Aug 2010 00:16:51 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id 13A3763437D for ; Mon, 9 Aug 2010 21:14:50 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id o7A0Enb03841; Mon, 9 Aug 2010 20:14:49 -0400 (EDT) From: Bruce Momjian Message-Id: <201008100014.o7A0Enb03841@momjian.us> Subject: Re: How to move a database from HP server to Linux Server that had already one database. In-Reply-To: <5FCE2C21B63D86478DBA823B3A27B40149CF104DC5@GVW1341EXA.americas.hpqcorp.net> To: "ENGEMANN, DAYSE" Date: Mon, 9 Aug 2010 20:14:49 -0400 (EDT) CC: Kevin Grittner , "pgsql-admin@postgresql.org" X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201008/61 X-Sequence-Number: 35310 ENGEMANN, DAYSE wrote: > Hi Kevin, > Sorry to disturb you.. But I am really new in it... > Let me see if I understood... > > pg_dump -h sourcemachine -U sourceuser source_dbname | psql target_dbname Has anyone done any measurement of whether it is faster to do the dump on the local machine with psql remote or from a remote machine (where psql would be local)? -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +