Add support for a recovery window retention policy

Đang mở
#757 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@gabriele-wolfox đang làm issue này rồi.

Từ ngày 1/12/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Since #311 the only Klio retention policy is latest.
Proposal: add recoveryWindow per tier, in the same format as the Barman Cloud plugin (^[1-9][0-9]*[dwm]$), mutually exclusive with latest:

tier1:
  retention:
    recoveryWindow: 7d

The Barman Cloud plugin supports a recovery window (retentionPolicy: "30d"), see https://cloudnative-pg.io/plugin-barman-cloud/docs/retention/.

As in Barman, keep every backup completed within the window plus the newest one completed before it, and delete the rest. WAL retention and the tier1 guard (backups not yet on tier2 are kept) work as they do for latest.

Ngôn ngữ chính
Go
Star
41
Fork
10
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
171

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của cloudnative-pg/klio

Tất cả issue của cloudnative-pg/klio

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.