I need to reinstall syncthing on my nas, but I am unsure how it will work when I do not have the database from the old install. So I would like to install syncthing and then add the shared folders as before.
I am afraid when there is a file missing on my nas which is existent on a remote machine, that this file will get deleted. Or will syncthing just handle the current files as “starting point” and thus has not detected any deletion which will be propagated to the remote systems? How about the other way around, when there has been a file deleted on the remote machine in the meantime?
Is there any documentation about these cases somewhere? I hvae not found anything like this.
A new installation of Syncthing on the NAS won’t push missing files as deletions to the remote devices. It will rather download those missing files to the NAS instead.
It will be re-added to the remote machine from the NAS. This can be prevented by initially setting the folders on the NAS to Receive Only (which I personally do on new installations with pre-existing files).
Thanks Tomasz for the feedback!
How about files which have been changed on the remote machine? I guess syncthing will detect the newer file by the modfied date/time?
If there are many folders, you can also temporarily set your default folder type to Receive Only to make the whole process faster. Once everything synced and you’ve reverted the local additions, you can change the defaults to Send & Receive again.