I understand that to use scheduled syncs, scrubs and diffs I should set up scheduled jobs in OMV GUI to execute related scripts.
I could not find any reference how this should be done. What are the commands that should be called?
I understand that to use scheduled syncs, scrubs and diffs I should set up scheduled jobs in OMV GUI to execute related scripts.
I could not find any reference how this should be done. What are the commands that should be called?
Nevermind i found the "scheduled diff" button under the Snapraid module page.
Can anyone explain what
does in the provided scripts?
Second question:
What exactly happens when i exclude specific dirs in the Snapraid rules section?
I guess these files/dirs are excluded from all sync/scrub/diff and other jobs?
Does this setting only work if i use the OMV provided scripts or will it also work with the external scripts referenced in this thread?
Thanks.
Ok, so it would make sense to run a sync and scrub every 2 days with 5% of the array and a scrub_age=40.
So after the script ran 20 times it scanned 100% of the array in 40 days.
What exactly happens when i exclude specific dirs in the Snapraid rules section?
I guess these files/dirs are excluded from all sync/scrub/diff and other jobs?
Does this setting only work if i use the OMV provided scripts or will it also work with the external scripts referenced in this thread?
To answer for anyone that wants to know: this should work independantly from any scripts as it is added to general snapraid.conf
Great job on the snapraid plugin ryecoaaron and the snapraid diff script Solo0815 !
I was just about to create a manual scheduled job until I saw the awesome report functions inside the snapraid diff script.
I just feel like the "SCRUB_OLDER_THAN_DAYS" variable is essential and should be implemented into the pluging ASAP
So use another script. There are several available that have the capability you seek.
So use another script. There are several available that have the capability you seek.
It is in the script, just not in the plugin.
Of course I can change it in the script manually, but then I don't know if it will survive the next update to the plugin.
The cleanest way would be to set it in the snapraid-diff.conf but here it states:
So it would be a lot nicer if it was possible to set this variable from the plugin.
It is in the script, just not in the plugin.
Of course I can change it in the script manually, but then I don't know if it will survive the next update to the plugin.
The cleanest way would be to set it in the snapraid-diff.conf but here it states:
So it would be a lot nicer if it was possible to set this variable from the plugin.
As I said. Use another script and stop using this one.
As I said. Use another script and stop using this one.
It was meant as a suggestion not a complaint.
The variable is already there, just not actively implemented.
Don’t have an account yet? Register yourself now and be a part of our community!