Skip to content

pitr: include WAL PVC as a part of clone and backup#634

Draft
boddumanohar wants to merge 2 commits intodevfrom
pitr-for-clone-restore
Draft

pitr: include WAL PVC as a part of clone and backup#634
boddumanohar wants to merge 2 commits intodevfrom
pitr-for-clone-restore

Conversation

@boddumanohar
Copy link
Member

@boddumanohar boddumanohar commented Feb 26, 2026

When PITR is enabled:

  • as a part of Snapshot, we should store WAL PVC's details in Backup Entry
  • as a part of clone, we should also clone and restore the WAL PVC

testing

  1. create a branch with PITR enabled.
  2. clone the branch --> both DATA and WAL PVC are cloned (since WAL is initialised at a separate location)
  3. backup the branch --> make sure that both DATA and WAL PVC are cloned
  4. setup periodic snapshots --> make sure that both DATA and WAL PVC are getting cloned
  5. snapshot retention --> make sure that both the snapshots are getting deleted
  6. create a branch from a backupID (similar behaviour as backup) --> the new branch should have both DATA and WAL PVCs

@boddumanohar boddumanohar marked this pull request as draft February 26, 2026 04:37
Base automatically changed from dev to main February 27, 2026 14:33
@boddumanohar boddumanohar changed the base branch from main to dev March 2, 2026 12:52
@boddumanohar boddumanohar force-pushed the pitr-for-clone-restore branch from cbdd363 to f96eee1 Compare March 2, 2026 12:56
@boddumanohar boddumanohar force-pushed the pitr-for-clone-restore branch from f96eee1 to 2277b4f Compare March 2, 2026 12:59
@boddumanohar boddumanohar marked this pull request as ready for review March 2, 2026 17:48
@boddumanohar boddumanohar marked this pull request as draft March 3, 2026 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant