-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support keepLast
retention in k8up
#2962
Comments
can you elaborate the idea behind this? also we could make this the default? then we don't have to add additional arguments to KBD, helmcharts, etc/ |
Yeah sure, so the idea is we have a customer that is looking to create 6 hourly backups. The current retention keys are a little confusing. We currently can use
Where I would prefer to have
To keep the last 3 days worth of 6 hourly backups.
Potentially, likely it would still need to be combo'ed with |
mhh I'm not sure I understand, so if you say so assuming you do a backup every 6 hours and you want to keep them the last 3 days (4 backups per day), then
we don't have 72 backups but based on how I read this this would keep hourly backups it could find in the last 72h, which would be all backups that have been created. So I'm not sure why we need to add the |
Yes I do. And yes this is achievable with the current functionality, but it did take a lot of reading of restic and k8up docs to discern this. If you feel this is not confusing, then feel free to close this issue. |
I'm more concerned adding a new functionality to a system that already works, I would rather fix actual bugs or implement features that don't work yet :) But I let @tobybellwood decide on this |
k8up supports a retention key
keepLast
https://k8up.io/k8up/1.2/how-tos/schedules.htmlIf would be nice if there was a way to pass these args into the KBD to then pass into the k8up schedule object.
Related to uselagoon/remote-controller#92
The text was updated successfully, but these errors were encountered: