Re: Restore master from slave

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Restore master from slave
Дата
Msg-id 4DE4AAB4020000250003DED9@gw.wicourts.gov
обсуждение исходный текст
Ответ на Restore master from slave  (sonnix <sonnix@gmail.com>)
Список pgsql-admin
sonnix <sonnix@gmail.com> wrote:

> Can i make only base backup from temporary master to main master?

You didn't say which version of PostgreSQL you're using, what OS
it's running on, how you're managing the replication, or what
exactly you did -- so it's hard to give very specific advice.  That
said, I'm pretty sure that the answer to the above question is that
when you promote a standby to be the new master, you must do a base
backup from it to anything to which you want to replicate
transactions from the new master -- including the old master.  If
you have rsync available, you can probably do this very quickly if
you use the right options.

-Kevin

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Insert statement deletes older table records
Следующее
От: Wells Oliver
Дата:
Сообщение: Server crash... trying to figure it out