Re: Postgresql - 8.3 Replication in windows

Поиск
Список
Период
Сортировка
От dinesh kumar
Тема Re: Postgresql - 8.3 Replication in windows
Дата
Msg-id CALnrH7oA3RK8DdG+wQaoWZBmNXFSYS3NQNxPsY3esOoz_FuW+A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Postgresql - 8.3 Replication in windows  (dinesh kumar <dineshkumar02@gmail.com>)
Список 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

В списке pgsql-general по дате отправления:

Предыдущее
От: Chris Angelico
Дата:
Сообщение: Re: How to find out if the server is postgres slave ??
Следующее
От: Shaun Thomas
Дата:
Сообщение: Re: Unexplained Major Vacuum Archive Activity During Vacuum