From: Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
To: Rita <rmorgan466@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-general@postgresql.org
Subject: Re: what to do after a failover
Date: Thu, 9 Jan 2020 15:14:59 +0100
Message-ID: <20200109151459.03111216@firost> (raw)
In-Reply-To: <CAOF-Kfh55omCkiVkey6KJx=d98kxY5rpL7upbGuz6SFV97Lf+w@mail.gmail.com>
References: <CAOF-KfiEitz3aTdJybdBvu_-y6oirt4YMmdfLjWGpcWG7+Ed=g@mail.gmail.com>
<20200109043139.GI2251@paquier.xyz>
<CAOF-Kfh55omCkiVkey6KJx=d98kxY5rpL7upbGuz6SFV97Lf+w@mail.gmail.com>
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,
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: jgdr@dalibo.com, rmorgan466@gmail.com, michael@paquier.xyz
Subject: Re: what to do after a failover
In-Reply-To: <20200109151459.03111216@firost>
References: <CAOF-KfiEitz3aTdJybdBvu_-y6oirt4YMmdfLjWGpcWG7+Ed=g@mail.gmail.com> <20200109043139.GI2251@paquier.xyz> <CAOF-Kfh55omCkiVkey6KJx=d98kxY5rpL7upbGuz6SFV97Lf+w@mail.gmail.com> <20200109151459.03111216@firost>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox