Skip to content

PITR: restore to a timestamp#660

Merged
boddumanohar merged 6 commits intodevfrom
pitr-restore
Mar 6, 2026
Merged

PITR: restore to a timestamp#660
boddumanohar merged 6 commits intodevfrom
pitr-restore

Conversation

@boddumanohar
Copy link
Member

@boddumanohar boddumanohar commented Mar 5, 2026

This PR implements restore functionality of point in time recovery.

The architecture diagram is as follows:

The backup is picked up automatically. For the given input timestamp, backup1 is picked up for recovery

----- T0 ----- T1 ----- T2 ------ T3 ------ T4 ----- CPIT
                     ^ PITR Target
                 ^ Restore Target                     ^ Additional WAL Segment Copy Source
mermaid-diagram-2026-03-06-122302

@boddumanohar boddumanohar changed the title PITR: restore PITR: restore to a timestamp Mar 6, 2026
@boddumanohar boddumanohar requested a review from mxsrc March 6, 2026 09:55
Copy link
Collaborator

@mxsrc mxsrc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks largely good, I have quite a few comments but they are all very localized changes.

@mxsrc
Copy link
Collaborator

mxsrc commented Mar 6, 2026

Great, thanks for the changes. None of the changes should change any semantics, but I think it's still worth testing again to ensure everything works as intended.

@boddumanohar
Copy link
Member Author

sure, yeah, I think it worth to redo the tests

@boddumanohar
Copy link
Member Author

did a quick a test looks good and able to perform restore to a timestamp

@boddumanohar boddumanohar merged commit d043214 into dev Mar 6, 2026
7 checks passed
@boddumanohar boddumanohar deleted the pitr-restore branch March 6, 2026 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants