Re: archive_command options?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: archive_command options?
Дата
Msg-id 38b0f300-4c24-54f9-d5de-683508541c47@2ndquadrant.com
обсуждение исходный текст
Ответ на archive_command options?  (LEROY TENNISON <leroy_tennison@prodigy.net>)
Список pgsql-admin
On 2019-04-03 22:16, LEROY TENNISON wrote:
> Postgresql documentation lists the following as an archive command for
> log shipping:
> 
> archive_command = 'test ! -f /mnt/server/archivedir/%f && cp %p
> /mnt/server/archivedir/%f'
> 
> The problem is that it is very fragile.

A more robust alternative is to use pg_receivewal.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Keith Fiske
Дата:
Сообщение: Re: archive_command options?
Следующее
От: Mark Steben
Дата:
Сообщение: Re: Long running query in new production, not so long in old