Re: postgresql.conf archive_command example

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: postgresql.conf archive_command example
Дата
Msg-id 4E60C7C80200002500040B4D@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: postgresql.conf archive_command example  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> wrote:
> maybe instead of shipping a more complicated script we should be
> trying to eliminate (or at least reduce) the need for a more
> complicated script.
That was the intent of my pg_archiveto suggestion.  I'll amend it
(based on other comments) to allow for a URL as an alternative way
to specify the directory.  So your archive_command might be:
'pg_archiveto /var/pgsql/backup/wal/ %p %f'
or:
'pg_archiveto http://backup-server/mydbserver/wal/ %p %f'
or maybe:
'pg_archiveto /mnt/someremotedirectory/ %p %f'
-Kevin


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: postgresql.conf archive_command example
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: postgresql.conf archive_command example