Re: New Slave - timeline ERROR

Поиск
Список
Период
Сортировка
От drum.lucas@gmail.com
Тема Re: New Slave - timeline ERROR
Дата
Msg-id CAE_gQfX9r4CGeXo1iz8jdK7D3gtnR8sD+=nmm=F9cXP3k-nbXA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: New Slave - timeline ERROR  (bricklen <bricklen@gmail.com>)
Ответы Re: New Slave - timeline ERROR  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
Should I point of replication new slave to same DB?

Lucas

On Sunday, 10 January 2016, bricklen <bricklen@gmail.com> wrote:
On Sat, Jan 9, 2016 at 2:35 PM, drum.lucas@gmail.com <drum.lucas@gmail.com> wrote:
rsync -azr --progress --partial postgres@$MASTER_IP:/var/lib/postgresql/data/var/lib/postgresql/data/ --exclude postmaster.pid 

Ah ok! So this will do an incrementa, right? not supposed to copy ALL the base/ again?

Yes, this is for incremental copying from the upstream source.
Actually, you don't need the -r with -a (it is implied), and you can run it first with --dry-run to see what it _would_ do.
If you are not shipping over the WAN, then omit the -z flag as you do not need compression.


--


Lucas Possamai


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

Предыдущее
От: bricklen
Дата:
Сообщение: Re: New Slave - timeline ERROR
Следующее
От: John R Pierce
Дата:
Сообщение: Re: New Slave - timeline ERROR