Re: AW: AW: [Extern] Re: postgres restore & needed history files

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: "Zwettler Markus (OIZ)" <Markus(dot)Zwettler(at)zuerich(dot)ch>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: AW: AW: [Extern] Re: postgres restore & needed history files
Date: 2023-01-16 13:30:32
Message-ID: 4e35b38138ccda4c46139397f319893254c75349.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 2023-01-13 at 11:23 +0000, Zwettler Markus (OIZ) wrote:
> > -----Ursprüngliche Nachricht-----
> > Von: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
> > Gesendet: Freitag, 13. Januar 2023 11:25
> > An: Zwettler Markus (OIZ) <Markus(dot)Zwettler(at)zuerich(dot)ch>; pgsql-
> > general(at)lists(dot)postgresql(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ajin Cherian 2023-01-16 13:33:49 Re: Support logical replication of DDLs
Previous Message Laurenz Albe 2023-01-16 13:26:02 Re: glibc initdb options vs icu compatibility questions (PG15)