public inbox for pgsql-novice@postgresql.org  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Subramanian,Ramachandran <ramachandran.subramanian@alte-leipziger.de>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-novice@lists.postgresql.org <pgsql-novice@lists.postgresql.org>
Subject: Re: AW: AW: Very basic question about Archive logs
Date: Thu, 26 Mar 2026 18:17:23 +0100
Message-ID: <2da4630ad323530f46b9ad44bfcd90830c390dfb.camel@cybertec.at> (raw)
In-Reply-To: <8a67983391a14af1ad968c2c6c2aec82@alte-leipziger.de>
References: <dee8d2457c034cddb7ab7021e1caf3f7@alte-leipziger.de>
	<CAKFQuwZwA=sq7xeLV032QJCzZ99NQnq8SNg4a6Y_hBxN_D=PmA@mail.gmail.com>
	<5604c5c610e44a0d97daceaf5f1ae01f@alte-leipziger.de>
	<8177cb9bc419f96f09302c50eb71d92723e01b9e.camel@cybertec.at>
	<8a67983391a14af1ad968c2c6c2aec82@alte-leipziger.de>

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: pgsql-novice@postgresql.org
  Cc: laurenz.albe@cybertec.at, ramachandran.subramanian@alte-leipziger.de, david.g.johnston@gmail.com, pgsql-novice@lists.postgresql.org
  Subject: Re: AW: AW: Very basic question about Archive logs
  In-Reply-To: <2da4630ad323530f46b9ad44bfcd90830c390dfb.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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox