Re: PITR, checkpoint, and local relations

Поиск
Список
Период
Сортировка
От Mikheev, Vadim
Тема Re: PITR, checkpoint, and local relations
Дата
Msg-id 3705826352029646A3E91C53F7189E325185DC@sectorbase2.sectorbase.com
обсуждение исходный текст
Ответ на PITR, checkpoint, and local relations  ("J. R. Nield" <jrnield@usol.com>)
Ответы Re: PITR, checkpoint, and local relations
Список pgsql-hackers
> I really dislike the notion of turning off checkpointing.  What if the
> backup process dies or gets stuck (eg, it's waiting for some 
> operator to
> change a tape, but the operator has gone to lunch)?  IMHO, backup
> systems that depend on breaking the system's normal 
> operational behavior
> are broken.  It should be sufficient to force a checkpoint when you
> start and when you're done --- altering normal operation in between is
> a bad design.

But you have to prevent log files reusing while you copy data files.
That's why I asked are 3 commands from pg_copy required and couldn't
be backup accomplished by issuing single command

ALTER SYSTEM BACKUP <dir | stdout (to copy data to client side)>

(even from pgsql) so backup process would die with entire system -:)
As for tape changing, maybe we could use some timeout and then just
stop backup process.

Vadim


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

Предыдущее
От: "Mikheev, Vadim"
Дата:
Сообщение: Re: PITR, checkpoint, and local relations
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PITR, checkpoint, and local relations