Re: Resync postgres database after master slave replication

From: Jan Lentfer <Jan(dot)Lentfer(at)web(dot)de>
To: shailesh <ligade_shailesh(at)bah(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Resync postgres database after master slave replication
Date: 2015-05-22 16:53:28
Message-ID: F9A10108-483F-467C-A268-F34BFF32BBA9@web.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> Am 21.05.2015 um 15:18 schrieb shailesh <ligade_shailesh(at)bah(dot)com>:
>
> Hello,
>
> I have setup postgres 8.4 master-slave replication. What we want to do is
>
> at some point, make both master slave independent and allow writes to both
> for a day, and then somehow sync them again to continue master-slave. Is
> this possible?
> What I understood about master-slave is that the both databases must be in
> sync only then master-slave can work. That's why I am thinking I have to
> somehow merge both databases.
> What manual (or automated) steps can be taken to get both databases merged
> so that master-slave can resume? Will there be any wrt application (liferay
> 6)?
>
> Appreciate any help.
>

That is not possible and I can't think of any system that will (reliably) do that. It's actually something most people will want to avoid by all possible means - split-brain on purpose.

Jan

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message David G. Johnston 2015-05-22 17:00:48 Re: PSQL
Previous Message Jan Lentfer 2015-05-22 16:48:07 Re: PSQL