Re: PITR - Mailing list pgsql-admin

From Holger Jakobs
Subject Re: PITR
Date
Msg-id 32d5ce00-9624-e072-2b1a-9f6637369c1e@jakobs.com
Whole thread Raw
In response to PITR  (Rajesh Kumar <rajeshkumar.dba09@gmail.com>)
List pgsql-admin
Am 22.11.23 um 09:11 schrieb Rajesh Kumar:
> Hi
>
> A person dropped the table and don't know time of drop.
>
> How do I do PITR. Backup strategy is weekly full backup and daily 
> differential backup. Using pgbackrest.
>
> Also. In future how do i monitor time of drop commands.


Monitoring DDL commands works fine using event triggers

https://www.postgresql.org/docs/current/event-triggers.html

Code of event triggers may even fail a command by raising an exception 
preventing the command becoming effective.

Regards,

Holger


-- 
Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012


Attachment

pgsql-admin by date:

Previous
From: Rajesh Kumar
Date:
Subject: Re: Pgbouncer
Next
From: Laurenz Albe
Date:
Subject: Re: PITR