pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
AW: AW: [Extern] Re: postgres restore & needed history files
2+ messages / 2 participants
[nested] [flat]

* AW: AW: [Extern] Re: postgres restore & needed history files
@ 2023-01-13 11:23  Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
  0 siblings, 1 reply; 2+ messages in thread

From: Zwettler Markus (OIZ) @ 2023-01-13 11:23 UTC (permalink / raw)
  To: Laurenz Albe <laurenz.albe@cybertec.at>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

> -----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.
> 
> Yours,
> Laurenz Albe


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.

Thanks, Markus



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: AW: AW: [Extern] Re: postgres restore & needed history files
@ 2023-01-16 13:30  Laurenz Albe <laurenz.albe@cybertec.at>
  parent: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
  0 siblings, 0 replies; 2+ messages in thread

From: Laurenz Albe @ 2023-01-16 13:30 UTC (permalink / raw)
  To: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2023-01-16 13:30 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-01-13 11:23 AW: AW: [Extern] Re: postgres restore & needed history files Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
2023-01-16 13:30 ` Laurenz Albe <laurenz.albe@cybertec.at>

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