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

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: AW: AW: [Extern] Re: postgres restore & needed history files
Дата
Msg-id 4e35b38138ccda4c46139397f319893254c75349.camel@cybertec.at
обсуждение исходный текст
Ответ на AW: AW: [Extern] Re: postgres restore & needed history files  ("Zwettler Markus (OIZ)" <Markus.Zwettler@zuerich.ch>)
Список pgsql-general
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



В списке pgsql-general по дате отправления:

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: glibc initdb options vs icu compatibility questions (PG15)
Следующее
От: Erik Wienhold
Дата:
Сообщение: Re: Why is a Read-only Table Gets Autovacuumed "to prevent wraparound"