When folders go out of sync, there is an “Override” button that shows up.
I want it gone, for some folders.
What I do, is to sync a few things from my Phone to my NAS. Things like Screenshots, Backups, etc.
I do not want these to sync from the NAS to the Phone, only one-way (Phone to NAS), that’s how it’s configured today, it works fine.
Except for this “Override” button that makes me feels like something’s wrong.
I clicked on it yersterday a bit too fast, and erased a folder on my NAS (new phone, no screenshots). (hopefully the NAS has backups and restore was a breeze)
But for these use-cases I’d just want the ability to, from the Folder config, disable the Override ability entirely. (it should be just a “UI-thing”)
I guess, in that case I’d need to change the config to:
Allow sync to happen both ways (instead of one-way)
Use ignoreDelete on what plays the role of the server (“Bob” in the doc’s example)
This way, when the phone sync a file, it gets synced on the server, when the phone deletes a file, it gets deleted on the server, but when the server deletes or add a file, nothing happens on the phone.
Now, what would happen at the first sync? Because I typically don’t want the existing files to be copied from the server to the phone (as it centralizes multiple phones/devices).
That’s why one-way sync made more sense to me for this use-case. I’m not entirely sure the ignoreDelete will fix my issue.
Is your last message not contradicting your given usercase?
I would try:
Phone as send only
NAS as receive only + ignoreDelete (+ File Versioning)
The file versioning is only to not fully rely on your NAS restore/trashcan capabilites.Just an extra security in case of, forever or during the first sync only.
You should maybe reconsider whether Syncthing is the right tool for what you want to achieve. Its purpose is keeping folders in sync, so that both sides (or even more connect devices) look just the same. Your goal seems to be something else, where contents are deliberately different. Trying to force Syncthing into doing that will always lead to friction and a poor user experience.
If you just want to make sure that deleted files on the phone are still available on the NAS, I would suggest to schedule regular copy jobs (rsync or similar) to copy them somewhere else on the NAS. This way, the phone can manage the synced folder and it’s just a regular two-way synchronization.
I don’t think my use-case is so weird, as there is no point to store all files from my NAS into the phone (screenshots, downloads) but I want to quickly access them from my NAS or computers.
Space being tight in my phone, it’s one way to avoid storing useless clutter.
Its purpose is keeping folders in sync, so that both sides (or even more connect devices) look just the same.
It’s clearly the primary goal, but not limited to that (otherwise, there wouldn’t be options such as 1-way sync).
I don’t feel like Syncthing isn’t the right tool, it’s worked great mostly. Also, it’s not easy to use too many tools just to handles specific folders sync differently.
As I pointed out, the way Syncthing works is exactly what I need, it’s just that from a UX perspective, not having the “override” button (nor the warnings about “Out of sync”) would make more sense to me.
I would try:
Phone as send only
NAS as receive only + ignoreDelete (+ File Versioning)
Will that also get rid of the “Out of sync” warnings and “Override” button? Because, if it doesn’t get rid of these, it doesn’t really change what I have for the better. (it’d just be a different config that yields a similar result)
Also, I do “Send” from the NAS because other devices are syncing these folders (computers) locally, so they need to have notifications sent to them when things change.
Aah, this is where it is getting tricky indeed. This part I didn’t get from your first message, which made me think your second message contradicted the first. I thought the relevant shared folders where between your NAS and phone only, not considering other nodes into play that do require 2-way syncs.
Knowing this now, setting the NAS as receive only isn’t doing it for you, it should be send & receive. However, applying the ‘ignoreDelete’ will cause issues with the other nodes, as it applies to the shared folder and not to a specific machine.
Back to square one. Knowing your setup now, it sounds to me that shares with your phone into play will be permanently out of sync. This obfuscates any issues with other nodes being possibly out of sync at some moment in time. How does removing the ‘override’ button from the GUI helps with this?
Back to square one. Knowing your setup now, it sounds to me that shares with your phone into play will be permanently out of sync. This obfuscates any issues with other nodes being possibly out of sync at some moment in time. How does removing the ‘override’ button from the GUI helps with this?
It won’t fix the “out of sync” status, but it doesn’t need to.
What I’m looking for is a way to tell that Folder “you’ll be out of sync, that is expected, do not ask me to fix it”, which essentially comes down to:
Do not show me aggressively that it’s out of sync (I don’t care, nor should I fix it)
Do not propose me to “Override” because if I do then that is what will cause issues (I’ll essentially override my “server” with my device, wiping lots of files I actually want to keep)
So, what I’m looking for is more of a way of avoiding myself clicking on “Override” thinking I’ll be solving an issue while there isn’t any really (but clicking on it will bring out issues).
And yes sorry I didn’t bring on the full picture right at the start, narrowed it down to what I thought was sufficient to comprehend my needs, but it wasn’t.