Re: Failover of the Primary database and starting the standby database in Postgresql in PITR configuraiton?

Поиск
Список
Период
Сортировка
От Michael Monnerie
Тема Re: Failover of the Primary database and starting the standby database in Postgresql in PITR configuraiton?
Дата
Msg-id 200803260125.51185@zmi.at
обсуждение исходный текст
Ответ на Re: Failover of the Primary database and starting the standby database in Postgresql in PITR configuraiton?  (salman <salmanb@quietcaresystems.com>)
Список pgsql-admin
On Mittwoch, 27. Februar 2008 salman wrote:
> archive_command = 'gzip %p; rsync -av %p.gz -e \"ssh -p portNum -i
> /home/postgres/.ssh/id_dsa\"
> postgres@rhostname:/usr/local/postgresql/archives/recovery/%f.gz &&
> rm -f %p.gz'

This works as long as there are no transmission errors. What can be done
to work around network problems? Example: when one rsync above does not
work, that log is never transmitted to the other host. Does somebody
have a sophisticated script for that?

mfg zmi
--
// Michael Monnerie, Ing.BSc    -----      http://it-management.at
// Tel: 0676/846 914 666                      .network.your.ideas.
// PGP Key:         "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38  500E CE14 91F7 1C12 09B4
// Keyserver: www.keyserver.net                   Key-ID: 1C1209B4

Вложения

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Deferred Constraints Issues
Следующее
От: Enrico
Дата:
Сообщение: Re: migration of 7.4 to 8.1