cloudnative-pg / cloudnative-pg/plugin-barman-cloud

Support traditional retention policies

未关闭
#677 3 条评论 12 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Go
星标
191
派生
72
平均合并
1 天 16 小时
30 天内合并 PR
18

描述

Currently, I can only find a way to retain a single date range of backups. (pointers to the contrary welcome!)

In a production deployment, our business quite often requires something like 1 year or longer retention, but keeping 1 (or 7) years of daily FULL backups would be quite cost prohibitive!

Please consider adding support for a more traditional retention policy like:

"7 days, 4 weeks, 12 months, 7 years"

Additionally, this plays well with the new incremental backup features available in Pg17!

贡献指南

打开贡献指南

调研方向

首先检查 plugin 当前如何表示和应用单个日期范围保留策略,然后研究 PostgreSQL 17 新增的增量备份支持如何与保留策略交互。完成的标准是支持“7 天、4 周、12 个月、7 年”这样的传统策略,而不要求长期每天执行完整备份。

由索引模型根据 Issue 内容生成。

评估

技术栈
go, postgresql
领域
cloud, databases, infrastructure
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
活跃
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。