Re: [HACKERS] Proposal: pg_rewind to skip config files

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [HACKERS] Proposal: pg_rewind to skip config files
Дата
Msg-id CAB7nPqRm938KoA6Q_yCymKXwqm2sMzgJpRBwSnnU_ua0p2tqQw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Proposal: pg_rewind to skip config files  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: [HACKERS] Proposal: pg_rewind to skip config files  (Chris Travers <chris.travers@adjust.com>)
Список pgsql-hackers
On Mon, Sep 4, 2017 at 7:21 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> A simple idea would be to pass as a parameter a regex on which we
> check files to skip when scanning the directory of the target remotely
> or locally. This needs to be used with care though, it would be easy
> to corrupt an instance.

I actually shortcut that with a strategy similar to base backups: logs
are on another partition, log_directory uses an absolute path, and
PGDATA has no reference to the log path.
-- 
Michael



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] Proposal: pg_rewind to skip config files
Следующее
От: Chris Travers
Дата:
Сообщение: Re: [HACKERS] Proposal: pg_rewind to skip config files