Re: How to check existing recovery points

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Loles <lolesft(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: How to check existing recovery points
Date: 2022-03-21 14:19:47
Message-ID: CAECtzeWp-1XdgoJpxQtD3oRzU4CoMAWxbh-JBr9w4h7z8YipVA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

Le lun. 21 mars 2022 à 15:07, Loles <lolesft(at)gmail(dot)com> a écrit :

> Hi everyone!
>
> I know how create news recovery points
> with pg_create_restore_point('name'); but I don't know but how to query the
> previously created points.
>
> There is any way to check them, other than looking in the log?
>
>
You can always use pg_waldump. For example:

pg_waldump -r XLOG "some wal file" 2>&1 | grep "RESTORE_POINT"

(but replace "some wal file" with an actual WAL file name)

Can they be removed?
>
>
Nope.

--
Guillaume.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Nathan Bossart 2022-03-21 22:12:05 Re: Estimating HugePages Requirements?
Previous Message Loles 2022-03-21 14:07:17 How to check existing recovery points