If you donât want 20k files deleted, donât delete them.
Deleted by accident? Though luck, syncthing is not for backups, and youâve learned it the hard way.
We had something similar at the beginning of time, but mostly to protect against the source going away and all files being incorrectly interpreted as deleted. We handle that in another way now.
Iâd suggest using the âtrashcanâ versioning to ensure you have at least one copy of the files even when deleted, which is also easy to recovery by just moving files back from the trashcan.
But yes, with versionning i restore the files, so it was not a problem. The real problem is when another user do not take care on other node when it delete all files in directory (And for me it is not a Syncthing problem)
I use Syncthing only for have the data on multiple computers, and on mine, i have Crashplan to make backups.