Re: archive_cleanup_command when is called?

Поиск
Список
Период
Сортировка
От Sameer Kumar
Тема Re: archive_cleanup_command when is called?
Дата
Msg-id CADp-Sm6jktW67WHAsRvS7yiLP1oP4EOrHLC31Y8q2dZbmLkJ-w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: archive_cleanup_command when is called?  (DFE <mimmopasticcio@gmail.com>)
Ответы Re: archive_cleanup_command when is called?  (DFE <mimmopasticcio@gmail.com>)
Список pgsql-novice

the archive command is a cp command:  'test ! -f /bigpart/local/incoming/%f && cp %p /bigpart/local/incoming/%f && chmod a+rx /bigpart/local/incoming/%f' 

Your primary and secondary instances/db clusters are on the same server?


I modified the command in the recovery.conf as follow, but no changes and no entry in the log file:  archive_cleanup_command = '/usr/pgsql-9.3/bin/pg_archivecleanup /mnt/db1_incoming_wals %r 2>>/tmp/archive_cleanup.log'

Can you share your restore_command?
Also share anything unusual that you notice in your database log files [on both the instances]


Best Regards,
Sameer Kumar | Database Consultant
ASHNIK PTE. LTD.
101 Cecil Street, #11-11 Tong Eng Building, Singapore 069533
M : +65 8110 0350 T: +65 6438 3504 | www.ashnik.com
www.facebook.com/ashnikbiz | www.twitter.com/ashnikbiz

email patch

This email may contain confidential, privileged or copyright material and is solely for the use of the intended recipient(s).

Вложения

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

Предыдущее
От: DFE
Дата:
Сообщение: Re: archive_cleanup_command when is called?
Следующее
От: DFE
Дата:
Сообщение: Re: archive_cleanup_command when is called?