Re: BUG #5602: Recovering from Hot-Standby file backup leads to the currupted indexes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #5602: Recovering from Hot-Standby file backup leads to the currupted indexes
Дата
Msg-id 16599.1281026992@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #5602: Recovering from Hot-Standby file backup leads to the currupted indexes  ("Chris" <christoph.springer@magicinternet.de>)
Список pgsql-bugs
"Chris" <christoph.springer@magicinternet.de> writes:
> A Hot-Standby database is being backed up to a new machine like this:

> 0. pause WAL file deletion from Hot-Standby
> 1. backup pg_control
> 2. sync data and tablespace files
> 3. wait for checkout using pg_controldata and waiting for UNDO address
> change
> 4. copy all WAL files
> 5. recover the newly created database using WAL files

This process seems almost entirely unrelated to the documented way of
doing it; I'm not surprised that you end up with some files not in sync.
Please see pg_start_backup and friends.

            regards, tom lane

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

Предыдущее
От: "Chris"
Дата:
Сообщение: BUG #5602: Recovering from Hot-Standby file backup leads to the currupted indexes
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #5599: Vacuum fails due to index corruption issues