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

Allow to schedule "prune" #22

Closed
jkellerer opened this issue Dec 20, 2020 · 2 comments · Fixed by #24
Closed

Allow to schedule "prune" #22

jkellerer opened this issue Dec 20, 2020 · 2 comments · Fixed by #24

Comments

@jkellerer
Copy link
Collaborator

This is a request to add prune to the list of ScheduledSections.

At the moment check, backup and retention can be scheduled. However one of the heaviest tasks, prune is not available. While retention can do prune as well it isn't very practical for large repositories (e.g. in my case, it runs +1 hour for a 500G repo on ordinary HDDs).

While retention policies can differ per path and tag, prune should just be run once per-repo (and at a lower rate). A separate schedule option would allow to configure this easily.

@jkellerer
Copy link
Collaborator Author

Btw. I'm open to provide this as a PR if that is fine.

@creativeprojects
Copy link
Owner

Sure, go ahead of you're happy to 👍🏻 it should be very similar to the check one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants