Re: Postgresql - 8.3 Replication in windows

From: dinesh kumar <dineshkumar02(at)gmail(dot)com>
To: nvishalakshi(at)sirahu(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgresql - 8.3 Replication in windows
Date: 2012-11-02 12:26:56
Message-ID: CALnrH7r+zG5MYRGU+you3yZiRMAMsALYnR6Ws=YDL7OpSZrcBQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi ,

In windows we do not have SCP/RSYNC utility commands, which helps us to
send the archives to remote/slave server.

I hope the below settings will help you while setting replication ..

Primary
======
archive_command = 'copy %p \\\\<Slave Server>\\Archive_Location\\%f'

Slave
=====
trigger_file = 'C:\\.trigger.5432'
restore_command = 'copy \\\\<Slave Server Archive_Location>\\%f %p'

And also, make sure your Primary windows firewall is accepting a connection
from the salve server.

Best Regards,
Dinesh
manojadinesh.blogspot.com

On Fri, Nov 2, 2012 at 1:35 PM, John R Pierce <pierce(at)hogranch(dot)com> wrote:

> On 11/02/12 12:53 AM, raghu ram wrote:
>
>>
>>
>> Can you please tell me , how to set up replication in win7,
>> without slony tool..
>>
>>
>> Below URL provides a configuration steps of Slony Replication on Windows
>> Operating System:
>>
>> http://www.mokisystems.com/**blog/setting-up-slony-on-**windows/<http://www.mokisystems.com/blog/setting-up-slony-on-windows/>
>>
>
> he asked, how to setup replication without slony.
>
>
>
>
> --
> john r pierce N 37, W 122
> santa cruz ca mid-left coast
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/**mailpref/pgsql-general<http://www.postgresql.org/mailpref/pgsql-general>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message dinesh kumar 2012-11-02 12:33:38 Re: How to find out if the server is postgres slave ??
Previous Message Alban Hertroys 2012-11-02 08:08:33 Re: Unexplained Major Vacuum Archive Activity During Vacuum