Speed up Switchover - Mailing list pgsql-general

From TJ
Subject Speed up Switchover
Date
Msg-id 51F0DBE0.10700@wallago.co.uk
Whole thread Raw
Responses Re: Speed up Switchover
List pgsql-general
Hi guys,
I am looking for a way of speeding up the process of switching over of severs.
At the moment we are switching over via the trigger file, reconfiguring our applications, patching or updating the old primary and rsyncing the data over to the old primary.

I was wondering if there was an easier way to get the primary setup as a secondary without having to rsync the data as it can take up to 10 hours.

The command i am using is:
rsync -azve "ssh -c blowfish" --inplace --delete /usr/local/pgsql/data/ pgsql@old-primary:/usr/local/pgsql/data/

We are using PostgreSQL 9.2,FreeBSD 9.1, Streaming replication and WAL log archiving.
Thanks

TJ

pgsql-general by date:

Previous
From: "Gauthier, Dave"
Date:
Subject: Re: Why are stored procedures looked on so negatively?
Next
From: Giuseppe Broccolo
Date:
Subject: Re: Rule Question