Re: Database syncronization

From: Richard Huxton <dev(at)archonet(dot)com>
To: Lowell(dot)Hought(at)faa(dot)gov
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Database syncronization
Date: 2005-08-09 14:49:58
Message-ID: 42F8C296.9030400@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Lowell(dot)Hought(at)faa(dot)gov wrote:
> What is the most effective method for syncronizing a database from a main
> to a backup machine? I am now running 8.0. Is it necessary to drop the
> database from the secondary machine and restore it from a dump of the
> primary?

Depends on how often/up-to-date you want to be. In order of delay, they are:

1. pg_dump / pg_restore
2. PITR + WAL-file shipping
3. Replication (e.g. Slony)

Check the manuals for the first two. There are other replication
projects available if Slony isn't quite right for you.
--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sean Davis 2005-08-09 14:52:32 Re: best way to reference tables
Previous Message Richard Huxton 2005-08-09 14:47:56 Re: Cross database queries