Skip to content
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

Prune operations not cleared automatically from plan history #248

Closed
modem opened this issue Apr 24, 2024 · 2 comments
Closed

Prune operations not cleared automatically from plan history #248

modem opened this issue Apr 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@modem
Copy link

modem commented Apr 24, 2024

Describe the bug
The prune operations do not seem to be cleared automatically from the Plan Tree View.
Seems the retention policy is only applying to the Backup operation, and not to the other operations, so who is in charge of cleaning the other operations from the tree view?
In other plans, I also see old Restore and Forget operations...

Expected behavior
Old prune operations should disappear like the Backup operation do.

Screenshots
image

Platform Info

  • Docker container under Linux
  • 0.17.2
@modem modem added the bug Something isn't working label Apr 24, 2024
@garethgeorge
Copy link
Owner

Hmm, these should be getting garbage collected. I'll take a look at the logic for that. They are expected to be removed from the log within 30 days.

@garethgeorge
Copy link
Owner

This should be fixed in the next release by the work I did in the task interface refactoring. Garbage collection is now a much-simplified two pass algorithm https://github.com/garethgeorge/backrest/blob/main/internal/orchestrator/tasks/taskcollectgarbage.go#L68-L109

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants