pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
database A to database B
4+ messages / 4 participants
[nested] [flat]

* database A to database B
@ 2005-05-18 13:27  Ing. Jhon Carrillo <jdigital@cantv.net>
  0 siblings, 2 replies; 4+ messages in thread

From: Ing. Jhon Carrillo @ 2005-05-18 13:27 UTC (permalink / raw)
  To: pgsql-admin

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.

thanks.

Jhon Carrillo
Ingeniero en Computación
jdigital@cantv.net
+584145246033
Caracas - Venezuela






^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: database A to database B
@ 2005-05-18 14:32  KÖPFERL Robert <robert.koepferl@sonorys.at>
  0 siblings, 0 replies; 4+ messages in thread

From: KÖPFERL Robert @ 2005-05-18 14:32 UTC (permalink / raw)
  To: 'Ing. Jhon Carrillo' <jdigital@cantv.net>; pgsql-admin

The easiest way is to shut down both postmaters and do a plain copy of the
data cluster directories.
Another way (with doubling space) is to use pg_dumpall

|-----Original Message-----
|From: Ing. Jhon Carrillo [mailto:jdigital@cantv.net]
|Sent: Mittwoch, 18. Mai 2005 15:28
|To: pgsql-admin@postgresql.org
|Subject: [ADMIN] database A to database B
|
|
|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.
|
|thanks.
|
|Jhon Carrillo
|Ingeniero en Computación
|jdigital@cantv.net
|+584145246033
|Caracas - Venezuela
|
|
|
|
|---------------------------(end of 
|broadcast)---------------------------
|TIP 7: don't forget to increase your free space map settings
|



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: database A to database B
@ 2005-05-18 14:40  John DeSoi <desoi@pgedit.com>
  parent: Ing. Jhon Carrillo <jdigital@cantv.net>
  1 sibling, 0 replies; 4+ messages in thread

From: John DeSoi @ 2005-05-18 14:40 UTC (permalink / raw)
  To: Ing. Jhon Carrillo <jdigital@cantv.net>; +Cc: pgsql-admin


On May 18, 2005, at 9:27 AM, Ing. Jhon Carrillo wrote:

> I need to transfer the  database/server A to database/server B through 
> the
> some command directly.


pg_dumpall might be what you are looking for.

http://www.postgresql.org/docs/8.0/interactive/app-pg-dumpall.html

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: database A to database B
@ 2005-05-18 14:42  Scott Marlowe <smarlowe@g2switchworks.com>
  parent: Ing. Jhon Carrillo <jdigital@cantv.net>
  1 sibling, 0 replies; 4+ messages in thread

From: Scott Marlowe @ 2005-05-18 14:42 UTC (permalink / raw)
  To: Ing. Jhon Carrillo <jdigital@cantv.net>; +Cc: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2005-05-18 14:42 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-05-18 13:27 database A to database B Ing. Jhon Carrillo <jdigital@cantv.net>
2005-05-18 14:40 ` John DeSoi <desoi@pgedit.com>
2005-05-18 14:42 ` Scott Marlowe <smarlowe@g2switchworks.com>
2005-05-18 14:32 Re: database A to database B KÖPFERL Robert <robert.koepferl@sonorys.at>

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