Reduce pgBackRest retention to 14 days - #234
Merged
Merged
Conversation
Update both PostgresCluster base manifests to expire pgBackRest full backups after 14 days, and document the new retention policy in the environment and instance template docs.
kmandryk
requested review from
NoorChasib,
alex-struk,
antsand and
dbarkowsky
as code owners
July 14, 2026 22:17
dbarkowsky
approved these changes
Jul 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update both PostgresCluster base manifests to expire pgBackRest full backups after 14 days, and document the new retention policy in the environment and instance template docs.
Summary
Backup PVCs were running out of space in production. In effect, only approximately 17 days worth of backups could be held at the current size of the application database backup PVC. This change alters the retention policy to be 14 days; the platforms team also retains offsite backups with a retention period of 90 days, so a 30 day retention policy is not really necessary.
In addition to these code changes, a request has been made to expand storage in the production namespace so we can also expand the PVC for the application backups.
Changes
Testing
Checklist
By submitting this pull request, I acknowledge that I have attempted to meet the following: