From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: broken backup trail in case of quickly patroni switchback and forth
Date: Thu, 7 Nov 2019 07:04:58 -0800
Message-ID: <436fa29a-0803-a511-206c-fd8c0086c50f@aklaver.com> (raw)
In-Reply-To: <0613f7e85acf4972837408cfc6260387@zuerich.ch>
References: <0613f7e85acf4972837408cfc6260387@zuerich.ch>
On 11/7/19 5:52 AM, Zwettler Markus (OIZ) wrote:
> we are using Patroni for management of our Postgres standby databases.
>
> we take our (wal) backups on the primary side based on intervals and thresholds.
> our archived wal's are written to a local wal directory first and moved to tape afterwards.
>
> we got a case where Patroni switched back and forth sides quickly, e.g.:
> 12:00h: primary - standby
> 12:05h: standby - primary
> 12:10h: primary - standby
>
> we realised that we will not have a wal backup of those wal's generated between 12:05h and 12:10h in this scenario.
>
> how can we make sure that the whole wal sequence trail will be backuped? any idea?
Probably best to ask the Patroni folks:
https://github.com/zalando/patroni#community>
> - Markus
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
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: adrian.klaver@aklaver.com, Markus.Zwettler@zuerich.ch
Subject: Re: broken backup trail in case of quickly patroni switchback and forth
In-Reply-To: <436fa29a-0803-a511-206c-fd8c0086c50f@aklaver.com>
References: <0613f7e85acf4972837408cfc6260387@zuerich.ch> <436fa29a-0803-a511-206c-fd8c0086c50f@aklaver.com>
* 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