| From: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> |
|---|---|
| To: | "Subramanian,Ramachandran" <ramachandran(dot)subramanian(at)alte-leipziger(dot)de>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
| Cc: | "pgsql-novice(at)lists(dot)postgresql(dot)org" <pgsql-novice(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: AW: AW: Very basic question about Archive logs |
| Date: | 2026-03-26 17:17:23 |
| Message-ID: | 2da4630ad323530f46b9ad44bfcd90830c390dfb.camel@cybertec.at |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ibrahim Shaame | 2026-03-30 10:20:14 | Adding column in a recursive query |
| Previous Message | Subramanian,Ramachandran | 2026-03-26 13:42:02 | AW: AW: Very basic question about Archive logs |