public inbox for pgsql-novice@postgresql.org  
help / color / mirror / Atom feed
From: David G. Johnston <david.g.johnston@gmail.com>
To: Subramanian,Ramachandran <ramachandran.subramanian@alte-leipziger.de>
Cc: pgsql-novice@lists.postgresql.org <pgsql-novice@lists.postgresql.org>
Subject: Re: Very basic question about Archive logs
Date: Thu, 26 Mar 2026 05:30:24 -0700
Message-ID: <CAKFQuwZwA=sq7xeLV032QJCzZ99NQnq8SNg4a6Y_hBxN_D=PmA@mail.gmail.com> (raw)
In-Reply-To: <dee8d2457c034cddb7ab7021e1caf3f7@alte-leipziger.de>
References: <dee8d2457c034cddb7ab7021e1caf3f7@alte-leipziger.de>

On Thursday, March 26, 2026, Subramanian,Ramachandran <
ramachandran.subramanian@alte-leipziger.de> wrote:

> Further more, if I execute the PIT-recovery On Tuesday at 0005 Hours and
> specify a Target recovery time of Monday 2300 Hours, then  Postgres will
> look at the active logs and any archive logs ( if it does not already exist
> in the active logs ) that were written between Tuesday 0005 Hours and
> Monday 2300 Hours and use these logs to Undo all the changes to the current
> Database. Is my understanding correct?
>
> There is no rolling back.  You deploy the base backup first to 0100
Monday, then it would apply the WAL up to the target time.

David J.


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-novice@postgresql.org
  Cc: david.g.johnston@gmail.com, ramachandran.subramanian@alte-leipziger.de, pgsql-novice@lists.postgresql.org
  Subject: Re: Very basic question about Archive logs
  In-Reply-To: <CAKFQuwZwA=sq7xeLV032QJCzZ99NQnq8SNg4a6Y_hBxN_D=PmA@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox