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 policy can't be set to 0% #591

Open
adamhl8 opened this issue Nov 27, 2024 · 1 comment
Open

Prune policy can't be set to 0% #591

adamhl8 opened this issue Nov 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@adamhl8
Copy link

adamhl8 commented Nov 27, 2024

If Max Unused After Prune is set to 0, it doesn't actually save at 0 and instead is reset to 10%.

@adamhl8 adamhl8 added the bug Something isn't working label Nov 27, 2024
@garethgeorge
Copy link
Owner

Thanks for reporting this. Just want to call out that it's typically not a good idea to set max unused after prune to 0% as restic will very aggressively repack blobs. You might look at setting it to a very low percentage e.g. 2-5%.

But this bug definitely is something that needs fixing -- the form should accept the value none the less. I've started looking at an overhaul of my form implementation in #592 where I'd like to clean up this problem along with a class of related bugs.

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