Sync only on ADD and maybe on MOVE #73
-
I opened a thread some time ago in the OMV Forum and didnt get any answer, so I will try here and copy the full question. From OMV Forum: Good mornig. After a year using SnapRaid on Windows Im doing the swith to OMV. Everything is set and working now, so no complaint here. Im not using the internall diff tool, maybe becuase i missundertand the options. I dont want to autosync if something is updated or deleted, The internal tool say for the Update Threshold: Define threshold of updated files above which not to start the sync process. default = 0 to disable this check and always sync. So my understanding is that 1 will sync if one file was updated and zero will sync everytime, this is not what I expect. This is not the main question but an answer is welcome for the real behaviour. Now the real questions. Im using snapraid-aio-script.sh from https://github.com/auanasgheps/snapraid-aio-script for late night maintenance. Now I see several problems with this script I want to solve. Maybe the problem is a bad config, so Im here to check this, and maybe later if needed open an issue in the development branch.
Here is my config file, at least the changed parts:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi there, I usually keep an eye on the OMV forum, but this is definitely the place to ask for help about this script.
With this script, you can choose what is the acceptable limit. Keep to default this option: Change these to the maximum changed or deleted files you want to allow per sync. If one of these is exceeded, sync will not proceed.
Regarding the Telegram notification: it sends a message when the process is started and when is completed. An upcoming version will display more stuff. Something is not working on your side regarding the final message. Do you see any error in the script logs towards the end?
ADD_DEL_ TRESHOLD is an optional feature: if you don't want to use it, keep it to 0. |
Beta Was this translation helpful? Give feedback.
Hi there, I usually keep an eye on the OMV forum, but this is definitely the place to ask for help about this script.
With this script, you can choose what is the acceptable limit.
Keep to default this option:
SYNC_WARN_THRESHOLD=-1
Change these to the maximum changed or deleted files you want to allow per sync. If one of these is exceeded, sync will not proceed.
Regarding the Telegram notification: it sends a message when the process is started and when is completed. An upcoming version will display more stuff. Something is not working on your side regarding the final message. Do you see any …