public inbox for [email protected]  
help / color / mirror / Atom feed
From: Laurenz Albe <[email protected]>
To: Subramanian,Ramachandran <[email protected]>
To: David G. Johnston <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: AW: AW: Very basic question about Archive logs
Date: Thu, 26 Mar 2026 18:17:23 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<CAKFQuwZwA=sq7xeLV032QJCzZ99NQnq8SNg4a6Y_hBxN_D=PmA@mail.gmail.com>
	<[email protected]>
	<[email protected]>
	<[email protected]>

On Thu, 2026-03-26 at 13:42 +0000, Subramanian,Ramachandran wrote:
> When I restore the base backup, from Monday 0100 Hours, Postgres will look
> at 0/53000028 and look for newer Logs beginning from this log file ...

Yes.

> ... in the Archivelog dir.

PostgreSQL knows no such directory.  It executes restore_command and expects
it to restore the desired WAL segment to pg_wal.

> Only in the archive log dirĀ  because we would have over written the
> active log dir.

I don't understand that sentence.

> Postgres will rollforward till end of Logs OR a particular timestamp if one is specified.

Yes.

> Am I understanding this correctly?

I guess so.

Laurenz Albe






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: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: AW: AW: Very basic question about Archive logs
  In-Reply-To: <[email protected]>

* 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