Re: Failover of the Primary database and starting the standby database in Postgresql in PITR configuraiton? - Mailing list pgsql-admin

From Michael Monnerie
Subject Re: Failover of the Primary database and starting the standby database in Postgresql in PITR configuraiton?
Date
Msg-id 200803260125.51185@zmi.at
Whole thread Raw
In response to Re: Failover of the Primary database and starting the standby database in Postgresql in PITR configuraiton?  (salman <salmanb@quietcaresystems.com>)
List 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

Attachment

pgsql-admin by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Deferred Constraints Issues
Next
From: Enrico
Date:
Subject: Re: migration of 7.4 to 8.1