Hi, I’m pretty new to syncthing, and have been having a few issues on my more complicated syncs. The “typical” use case of syncing “downloads”, “documents” etc between windows devices using a centralized server for versioning is working great.
But I’m wondering if my sync structure is too complicated. And also, the best way to sync that does not also sync the versions etc…
(E) syncs with (F) in a send/receive relationship with short duration versioning on (E)
(G) syncs with (H) in a send/receive relationship with short duration versioning on (G)
the entire private folder is also backed up to offsite storage using a cloud provider.
Although it seems to be working, it does get “stuck” sometimes. Still trying to figure it out and haven’t found a decent resolution other than dropping the folder and re-sharing from primary as it’s the always correct version.
Primary and Backup servers are both unraid boxes with syncthing 1.13.1 running in linuxserver’s docker. Workstation is a Windows 10 machine, and Phone 1 and 2 are Android Galaxy s8 and s10.All devices are connected on the same local network & subnet.
Would you put that only on the workstation, or on both workstation and server folders?
I assume adding the ignore after the folders already exist will not remove the .st folders that have already been sync’d ? Once I add the ignore, would I manually delete those subfolders inside the folder structure (not at the folder root of course).
Thanks! and thanks for the link too, will spend some time with it tonight.
I have tons of folders, so I personally add these patterns everywhere, just for the sake of simplicity. You are right that the already synced ones will have to be removed manually, although leaving them alone should not bring any harm either.
No problem . Also, as I have just re-read the first post and noticed that you synced Windows user profile folders, I would suggest adding these to the ignore patterns too.
(?d)(?i)desktop.ini
(?d)(?i)thumbs.db
Especially desktop.ini, as syncing those can cause problems with visible folder names if you use Windows in different languages, and also Syncthing unhides those files after syncing, while normally they should remain hidden. thumbs.db are just thumbnails generated by Windows Explorer, and syncing them is kind of pointless.
I personally also add
(?d)(?i)$recycle.bin
(?d)(?i)config.msi
(?d)(?i)system volume information
but these are only really necessary if you add drive root paths as folders in Syncthing (which I do).
i’ve noticed desktop.ini and thumbs.db - knew what they were but didn’t realize there were problems associated with syncing them. wow you really know your stuff. thank you!