Re: Synchronizing Data?

From: Peter Pilsl <pilsl(at)goldfisch(dot)at>
To: joe(at)jwebmedia(dot)com
Subject: Re: Synchronizing Data?
Date: 2000-11-07 12:12:32
Message-ID: 20001107131232.B37837@i3.atat.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Nov 06, 2000 at 12:59:14PM -0600, joe(at)jwebmedia(dot)com wrote:
> Is there a way to synchronize data between postgresql on a local machine
> and postgresql on a remote web server? Maybe use the TCP/IP Connection
> with SSH somehow? Anyone done this or have any good ideas? Thanks a lot,
>

As far as I understood in the running discussion you only need to
update a few tables. I think, the easiest solution is a small
perl-script running on one of this two machines and building up a
connection to both machines. (I woulds ssh-tunnel the connection to
the remote-machine). Then you can run for it and select, insert and
update the things you want. Cause synchronizing always is a hard
thing (what if both data has changed !?) you need to implement special
rules and maybe background-tables (containing the change-date of each
entry) anyway.

peter

--
mag. peter pilsl

phone: +43 676 3574035
fax : +43 676 3546512
email: pilsl(at)goldfisch(dot)at
sms : pilsl(at)max(dot)mail(dot)at

pgp-key available

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sergio A. Kessler 2000-11-07 13:12:22 Re: Book PDF to be removed soon
Previous Message Bruce Momjian 2000-11-07 11:33:14 Book PDF to be removed soon