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:
signature.asc
Description: This is a digitally signed message part.