Re: Switchover of Master and Slave roles - Mailing list pgsql-admin

From Guillaume Lelarge
Subject Re: Switchover of Master and Slave roles
Date
Msg-id 1307472003.2027.1.camel@laptop
Whole thread Raw
In response to Re: Switchover of Master and Slave roles  (A J <s5aly@yahoo.com>)
List pgsql-admin
On Tue, 2011-06-07 at 11:33 -0700, A J wrote:
> >>To return to normal operation, a standby server must be recreated,
> either on the former primary system when it comes up<<
>
>
> What does it exactly mean to 'recreate a standby server' ? Can I not
> use the datafiles on the former primary and just let it sync and get
> the incremental from the new primary ? Do I have to remove all the
> data files from the former primary and get all the datafiles through
> rsync (or other similar manner) from the new primary ?
>
>

Don't remove them. This way, rsync will only send the changed files.



--
Guillaume
  http://blog.guillaume.lelarge.info
  http://www.dalibo.com


pgsql-admin by date:

Previous
From: A J
Date:
Subject: Re: Switchover of Master and Slave roles
Next
From: "Kevin Grittner"
Date:
Subject: Re: Switchover of Master and Slave roles