pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Ing. Jhon Carrillo <jdigital@cantv.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: database A to database B
Date: Wed, 18 May 2005 09:42:07 -0500
Message-ID: <1116427327.31821.12.camel@state.g2switchworks.com> (raw)
In-Reply-To: <027301c55bb0$87fe7860$1400a8c0@tgusta2>
References: <00bc01c55665$31117340$1400a8c0@tgusta2>
	<674d1f8a05051306264754fbd0@mail.gmail.com>
	<027301c55bb0$87fe7860$1400a8c0@tgusta2>

On Wed, 2005-05-18 at 08:27, Ing. Jhon Carrillo wrote:
> Hi all,
> 
> I have two postgresql 7.4 (Linux) servers:
> 
> Server A: it has a original database.
> Server B: it doesn't have nothing.
> 
> 
> I need to transfer the  database/server A to database/server B through the
> some command directly.

You can do something like this:

pg_dumpall -h servera|psql -h serverb



view thread (4+ messages)

Message-ID: <1116427327.31821.12.camel@state.g2switchworks.com>
Permalink:  ../1116427327.31821.12.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1116427327.31821.12.camel@state.g2switchworks.com

 · 

reply

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: smarlowe@g2switchworks.com, jdigital@cantv.net
  Subject: Re: database A to database B
  In-Reply-To: <1116427327.31821.12.camel@state.g2switchworks.com>
  References: <00bc01c55665$31117340$1400a8c0@tgusta2> <674d1f8a05051306264754fbd0@mail.gmail.com> <027301c55bb0$87fe7860$1400a8c0@tgusta2> <1116427327.31821.12.camel@state.g2switchworks.com>

* 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