I would like to propose a new feature, subtle in nature and user friendly, but something that will eradicate the scourge of missing / deleted data, and many users frustration.
It is of course, the revert local changes button when you have setup syncthing with a receive only folder.
The scenarios play out as follows, and you can find many tales of horror in the syncthing and other forums where users have seen all their data erased. So you use synthing because it’s bundled into your NAS applications as a package, or just great in syncing and quick to setup, easy to use and great GUI. But in this instance you want to pull files from a repository A to local source B where the files in A get deleted after a while, and you want keep those files in B. B never sends files back to A and quite frankly doesnt care what A is doing unless there are new files in A to download.
You dont want to have to setup scripts to move files out of A’s folders into somewhere else as we arent all Linus Torvalds with access to command shells or perl wizardry, or maybe we are using windows 10 and just want to get by using standard apps.
The solution, we’ll my suggestions at least:
- Make an option to hide the “revert local changes” button in the GUI if you setup a receive only folder. Simple tick box where you have the dropdown to select the receive only folder in the folder settings area.
- Or make it so B never deletes files in its folders based on whats happening in A
- Or other wizardry a dev comes up with to solve the same use case
Now many may ask:
- We’ll thats not really syncing both ways so why should syncthing care. To that I would say end users are using syncthing in more ways that you ever imagined, so just go with it.
- Can’t you just not click the button. Many have tried … and failed. There are thousands of sordid tales on the internet forums of exactly this. Late at night you go to expand the drop down for a folder and accidentally click the button … or some end users fall for the redness of the said button and click it our of curiosity like they had 9 cat lives. The results are all the same … only for your HDD’s to whir up in high pitch rev’s before you realise whats going on … as once you click the button it disappears while it happily deletes all your data in B for files that no longer exist in A.
- Why not just make a “are you really really sure you want to do this prompt” for the said button … we’ll, even that doesn’t discourage the intrepid users late at night after no sleep and low on caffeine from impending data doom … as lets face it, finding out what that button actually does is buried in the user manual and you have to go looking for it to understand it fully like a jedi padawan studying to be a jedi knight.
Thanks for your time, and I hope this suggestion helps many more avoid this fate.
A moment of silence for all those that have Receive only folders, mistakenly or curiously clicked on the revert local changes button and then lost all their data as a result.