Re: PITR Setup Using Hot StandBy

Поиск
Список
Период
Сортировка
От Dave Johansen
Тема Re: PITR Setup Using Hot StandBy
Дата
Msg-id CAAcYxUdhENM5Add1hYu0kv4DFC4ru=KS1Qs8FjgSS0c-kf0hTQ@mail.gmail.com
обсуждение исходный текст
Ответ на PITR Setup Using Hot StandBy  ("Vicky Soni - Quipment India" <vicky.soni@quipment.nl>)
Ответы Re: PITR Setup Using Hot StandBy  (Scott Whitney <scott@journyx.com>)
Список pgsql-admin
On Tue, May 24, 2016 at 6:05 AM, Vicky Soni - Quipment India <vicky.soni@quipment.nl> wrote:

Quipment Logo

Hello Friends,

 

                       I need to setup PITR. Using master, I am able to do wal archiving.

But using slave I am not able to archive WAL files.

 

Can anyone please guide me, how to setup PITR using Hot StandBy?

 

I have setup LogShpping + Streaming Replication in my dev environment, now using this slave I want to setup PITR.

 

I have already setup following parameters:

 

wal_level = hot_standby

 

archive_mode = on

 

archive_command = 'copy "c:\\Program Files\\PostgreSQL\\9.4\\data\\%p" "\\\\192.168.170.221\\Primary_WAL_Archive\\%f"'

 

max_wal_senders = 3

 

wal_keep_segments = 8

 

hot_standby = on

 

Any help is appreciated.





http://www.postgresql.org/docs/9.2/static/continuous-archiving.html
The standby/slave is read only and does not generate WAL files (it only consumes them to stay in sync with the master).
Вложения

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

Предыдущее
От: "Campbell, Lance"
Дата:
Сообщение: question marks in logs
Следующее
От: Scott Whitney
Дата:
Сообщение: Re: PITR Setup Using Hot StandBy