From: | Sam Mason <sam(at)samason(dot)me(dot)uk> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: cluster replication over only http protocol |
Date: | 2009-08-26 01:20:25 |
Message-ID: | 20090826012024.GP5407@samason.me.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, Aug 26, 2009 at 01:13:48AM +0200, Szabolcs MMMrton wrote:
> my situation is:
> - i have a running/working postgre databse
> - i have to make another database exactly the same as the first (for
> development purposes)
> - the two databases have only(!) http or https connection, nothing else !
>
> is there a method to set-up a cluster (replication) using only http
> protocols?
Are these two databases on different boxes? Not sure how much it
matters either way, just write a simple CGI script that does a pg_dump
of the master database. Have the other box download this and send it
through to its database to be synchronized every few hours. Is that
enough for development purposes? You could even pipe it through some
crypto code if you're worried about the data going missing.
--
Sam http://samason.me.uk/
From | Date | Subject | |
---|---|---|---|
Next Message | Mark Kirkwood | 2009-08-26 02:46:58 | Re: [Skytools-users] WAL Shipping + checkpoint |
Previous Message | Sergey Samokhin | 2009-08-26 01:06:27 | It looks like transaction, but it isn't transaction |