Repository metrics
- Stars
- (10,111 stars)
- PR merge metrics
- (PR metrics pending)
Description
Describe the problem/challenge you have Currently, you can set a backup TTL that will expire backup after a certain period of time. It would be really nice to be able to setup a rotation ie. Keep the last 24hrs, 7 days, 4 weeks, 12 months, 3 years of backups
So all backups from the last 24hours, 1 backup for each day, 1 for each week, 1 for each month and 1 for each year
This would allow long term retention for PVC data while not requiring crazy amounts of storage that would be needed if you kept all backups up to that retention time Describe the solution you'd like Probably a field in the schedule object like:
rotationSchedule: hours: 24 days: 7 weeks: 4 months: 12 years: 3
That would then set the schedule to automatically rotate backups over this schedule
Anything else you would like to add:
Environment:
- Velero version (use
velero version): 1.5.3 - Kubernetes version (use
kubectl version): 1.18.4 - Kubernetes installer & version: RKE2
- Cloud provider or hardware configuration: Vanilla K8S on Vmware
- OS (e.g. from
/etc/os-release): Ubuntu 18.04 nodes
Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.
- :+1: for "The project would be better with this feature added"
- :-1: for "This feature will not enhance the project in a meaningful way"