pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Rajesh Kumar <rajeshkumar.dba09@gmail.com>
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: PITR
Date: Wed, 22 Nov 2023 10:01:02 +0100
Message-ID: <b754be5879d583c48413ec032f41f108249c026c.camel@cybertec.at> (raw)
In-Reply-To: <CAJk5Atb_8Rmr8DmxWFmtR44CRQrT9cc4Nso9Z85owT3E-=OQ0w@mail.gmail.com>
References: <CAJk5Atb_8Rmr8DmxWFmtR44CRQrT9cc4Nso9Z85owT3E-=OQ0w@mail.gmail.com>

On Wed, 2023-11-22 at 13:41 +0530, Rajesh Kumar wrote:
> 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. 

You can monitor that by setting "log_statement = 'ddl'".

Yours,
Laurenz Albe





view thread (30+ messages)  latest in thread

Message-ID: <b754be5879d583c48413ec032f41f108249c026c.camel@cybertec.at>
Permalink:  ../b754be5879d583c48413ec032f41f108249c026c.camel@cybertec.at/
Also on:    postgresql.org/message-id/b754be5879d583c48413ec032f41f108249c026c.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: laurenz.albe@cybertec.at, rajeshkumar.dba09@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: PITR
  In-Reply-To: <b754be5879d583c48413ec032f41f108249c026c.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