pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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: [Extern] Re: postgres restore & needed history files
Date: Fri, 13 Jan 2023 11:25:02 +0100
Message-ID: <6b0bc60cae8d0268f70b33d491d8399a0e4e0db2.camel@cybertec.at> (raw)
In-Reply-To: <6a648ddf9d8747e7bc18fa06ac7f48a2@zuerich.ch>
References: <0ce7906d55174fa6902c011c0aa0e884@zuerich.ch>
	<eead8d41fc9d9422902324cc6ded0a81cf66b730.camel@cybertec.at>
	<6a648ddf9d8747e7bc18fa06ac7f48a2@zuerich.ch>

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





view thread (3+ messages)

Message-ID: <6b0bc60cae8d0268f70b33d491d8399a0e4e0db2.camel@cybertec.at>
Permalink:  ../6b0bc60cae8d0268f70b33d491d8399a0e4e0db2.camel@cybertec.at/
Also on:    postgresql.org/message-id/6b0bc60cae8d0268f70b33d491d8399a0e4e0db2.camel@cybertec.at

 · 

reply

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: <6b0bc60cae8d0268f70b33d491d8399a0e4e0db2.camel@cybertec.at>
  References: <0ce7906d55174fa6902c011c0aa0e884@zuerich.ch> <eead8d41fc9d9422902324cc6ded0a81cf66b730.camel@cybertec.at> <6a648ddf9d8747e7bc18fa06ac7f48a2@zuerich.ch> <6b0bc60cae8d0268f70b33d491d8399a0e4e0db2.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