Speak at Bengaluru Systems meet-up

Call for talks & demos for monthly meet-ups

Saravana Priyan

Point-in-time recovery by hand: WAL, timelines and a 12-microsecond mistake on PostgreSQL 16

Submitted Nov 6, 2026

While restoring a crashed PostgreSQL 16 cluster by hand, my restore reported success and my rows were still missing. Two things were off in my attempts: my recovery target was 12 microseconds before the last commit, and the cluster followed a different timeline than I expected. This talk is a walkthrough of that one real restore: pg_basebackup, continuous WAL archiving with archive_command, recovery targets, and what a timeline actually is. I show how the rows stayed absent until I corrected the recovery target and timeline, and the exact settings that brought them back. I’m a student learning these internals myself - this is one demonstrated drill on a small EC2 lab you can rebuild, not a comprehensive internals lecture.

Bio: I’m Saravana Priyan, a Product Testing Intern at Nokia in Chennai, and a final-year AI and Data Science student. I learn backend engineering by running small failure and recovery experiments on my own EC2 lab and writing them up on AWS Builder Center, including this experiment. This work is a personal project and does not represent my employer.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

Bengaluru Systems Meetup

Supported by

Venue host

a lab based in Bangalore, India focused on foundational questions on artificial and biological intelligences.