Re: Replication

From: brew(at)theMode(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Replication
Date: 2005-06-18 17:26:14
Message-ID: Pine.BSF.4.58.0506181305390.44139@themode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Jeffery.....

> I have been searching for the ability for replication between postgresql
> database servers. Many of the solutions That I have seen either work
> only un*x or requires an expensive commercial license. I am looking
> something rather short term and maybe for a long term solution.

If you don't actually need replication, and your database isn't huge, you
could instead just keep a backup server. You could simply do an automated
pg_dumpall once a day (for instance), followed by an automated ftp,
followed by an automatic load into the backup database.

Guess you'd set it up as a service on windows, under *nix I use ssl rsync
and cron. In the event I have to use my backup website server at another
location (only once, so far) it's read only and only up to date from the
night before. But it's better than a nonworking website.

Of course I have a way to redirect the web requests, too.

Actually, now that I think about it, I put this together for my own use,
in my spare time, using machines I had available already. If I had to do
it for a client I would do it right (with replication, load sharing,
etc.).

This is one way to keep it simple, but it might not meet your needs,
though.

brew

==========================================================================
Strange Brew (brew(at)theMode(dot)com)
Check out my Stock Option Covered Call website http://www.callpix.com
and my Musician's Online Database Exchange http://www.TheMode.com
==========================================================================

In response to

  • Replication at 2005-06-18 05:54:59 from Jeffery Reedy

Browse pgsql-general by date

  From Date Subject
Next Message Jerry LeVan 2005-06-18 19:18:14 PgAdmin 1.2.2 on MacOS X with PG 8.0.3
Previous Message Greg Sabino Mullane 2005-06-18 15:00:04 Re: Viewing non-system objects in psql