Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Fresh copy of a PG DB ?



Hello,

On Fri, 28 Dec 2007 10:15:05 +0100 Pascal Heraud wrote:

> What are the other solution to provide this service in a incremental 
> manner ? Is there any "dupplication" tool or mechanism provided to allow 
> such a repplication ?

One solution is "Slony" to replicate tables to another database.
Or you can use PITR do copy every WAL logfile to your second machine
and apply all changes as far as you have logfiles.


> We looked at the way of using a replication solution but it seems very 
> coupled to the version of the database we use. We are using PGSQL 8.2.4 
> on a Gentoo Linux OS.

Uh? At least a replication with PITR is straightforward, some config
modifications, a script to archive the logfile, one to restore the
logfile and something to transfer the logfile to your other machine.
Basically, that should be all you need.
Not so long ago i created such a setup and the replication itself was
the easy part. It got much worse the time we had to integrate the
replication into RH cluster software.


Kind regards

-- 
				Andreas 'ads' Scherbaum
German PostgreSQL User Group



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group