Re: New option in pg_basebackup to exclude pg_log files during base backup
От | Alvaro Herrera |
---|---|
Тема | Re: New option in pg_basebackup to exclude pg_log files during base backup |
Дата | |
Msg-id | 20140409145550.GU5822@eldon.alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: New option in pg_basebackup to exclude pg_log files during base backup (Magnus Hagander <magnus@hagander.net>) |
Ответы |
Re: New option in pg_basebackup to exclude pg_log files
during base backup
|
Список | pgsql-hackers |
Magnus Hagander wrote: > While pg_log is definitely the most common one being the default on many > platforms, we'll still be missing other ones. Should we really hardcode it, > or should we somehow derive it from the settings for log_directory instead? > > As a more general discussion, is this something we might want to expose as > a more general facility rather than hardcode it to the log directory only? > And is it perhaps something we'd rather have configured at the server than > specified in pg_basebackup - like a guc saying which directories should > always be excluded from a basebackup? So you don't have to remember it > every time? 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 -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: