Re: what to do after a failover - Mailing list pgsql-general

From Jehan-Guillaume de Rorthais
Subject Re: what to do after a failover
Date
Msg-id 20200109151459.03111216@firost
Whole thread Raw
In response to Re: what to do after a failover  (Rita <rmorgan466@gmail.com>)
Responses Re: what to do after a failover
List pgsql-general
On Thu, 9 Jan 2020 06:55:18 -0500
Rita <rmorgan466@gmail.com> wrote:

> Thanks for the response.
> I am using Postgresql 11.
> I want something simple and I have a strong preference toward using stock
> tools. After the promotion and the original master comes online, I was
> thinking of doing a pg_basebackup to sync. Any thoughts about that? 

If you can afford that, this is the cleanest and easiest procedure you could
find.

Note that pg_basebackup need an empty PGDATA, so it will have to transfert the
whole instance from new promoted primary to the original one.

Regards,



pgsql-general by date:

Previous
From: Rita
Date:
Subject: Re: what to do after a failover
Next
From: Peter Eisentraut
Date:
Subject: Re: Is it safe to transfer logical replicationpublication/subscription?