From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: AW: AW: [Extern] Re: postgres restore & needed history files
Date: Mon, 16 Jan 2023 14:30:32 +0100
Message-ID: <4e35b38138ccda4c46139397f319893254c75349.camel@cybertec.at> (raw)
In-Reply-To: <c9d06edbe32e450291597a34949bc2bc@zuerich.ch>
References: <0ce7906d55174fa6902c011c0aa0e884@zuerich.ch>
<eead8d41fc9d9422902324cc6ded0a81cf66b730.camel@cybertec.at>
<6a648ddf9d8747e7bc18fa06ac7f48a2@zuerich.ch>
<6b0bc60cae8d0268f70b33d491d8399a0e4e0db2.camel@cybertec.at>
<c9d06edbe32e450291597a34949bc2bc@zuerich.ch>
On Fri, 2023-01-13 at 11:23 +0000, Zwettler Markus (OIZ) wrote:
> > -----Ursprüngliche Nachricht-----
> > Von: Laurenz Albe <laurenz.albe@cybertec.at>
> > Gesendet: Freitag, 13. Januar 2023 11:25
> > An: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>; pgsql-
> > general@lists.postgresql.org
> > Betreff: Re: AW: [Extern] Re: postgres restore & needed history files
> >
> > On Thu, 2023-01-12 at 16:50 +0000, Zwettler Markus (OIZ) wrote:
> > > What would you do in case of a disaster when all history files in
> > > pg_wal are gone and also deleted in the backup due to the backup retention?
> >
> > Easy. Take a new base backup immediately and don't try to restore a backup that
> > was taken on an earlier timeline.
>
> Hope I got you right.
>
> You meant the latest backup within the latest timeline is always working even if the latest history files are gone.
Yes.
Yours,
Laurenz Albe
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: laurenz.albe@cybertec.at, Markus.Zwettler@zuerich.ch
Subject: Re: [Extern] Re: postgres restore & needed history files
In-Reply-To: <4e35b38138ccda4c46139397f319893254c75349.camel@cybertec.at>
References: <0ce7906d55174fa6902c011c0aa0e884@zuerich.ch> <eead8d41fc9d9422902324cc6ded0a81cf66b730.camel@cybertec.at> <6a648ddf9d8747e7bc18fa06ac7f48a2@zuerich.ch> <6b0bc60cae8d0268f70b33d491d8399a0e4e0db2.camel@cybertec.at> <c9d06edbe32e450291597a34949bc2bc@zuerich.ch> <4e35b38138ccda4c46139397f319893254c75349.camel@cybertec.at>
* 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