Re: New option in pg_basebackup to exclude pg_log files during base backup

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: New option in pg_basebackup to exclude pg_log files during base backup
Дата
Msg-id 534DF61E.8020708@gmx.net
обсуждение исходный текст
Ответ на Re: New option in pg_basebackup to exclude pg_log files during base backup  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
On 4/9/14, 10:57 AM, Magnus Hagander wrote:
>     So it'd be an array, and by default you'd have something like:
>             basebackup_skip_path = $log_directory
>     ?
> 
>     Maybe use it to skip backup labels by default as well.
>             basebackup_skip_path = $log_directory, $backup_label_files
> 
> 
> I hadn't considered any details, but yes, someting along that line. And
> then you could also include arbitrary filenames or directories should
> you want.

What are the use cases for excluding anything else?

pg_basebackup ought to have some intelligence about what files are
appropriate to include or exclude, depending on what the user is trying
to do.  It shouldn't become a general file copying tool.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Add TAP tests for client programs
Следующее
От: "sure.postgres"
Дата:
Сообщение: The question about the type numeric