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

Exclude directories from diff threshold check #64

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Atreb92
Copy link

@Atreb92 Atreb92 commented Aug 19, 2023

Hi!
In my use case I use my storage as a backup target for configuration snapshots which rotate. This results in many files (correctly) being removed from old snapshots. The snapraid-runner detects these removals and stops execution since they exceed the defined threshold.
Instead of abritrary increasing the threshold in order to avoid this, I implemented a filter which allows the user to define paths which should not be considered in the diff count for verifying the threshold.

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 this pull request may close these issues.

1 participant