What is it?

Syncthing is a utility, which allows one to sync files between different devices. There are several apps for different OSes.

How and why I use it

I want to phase out Nextcloud, but I still want to sync files between devices. In theory, I could just use NAS and NFS or SMB share. Using this approach would lead to me losing local caching.

Therefore, I can use Syncthing, choose what to sync with which device, and still maintain a copy on the server. I won’t use it for photos (that’s a job for Immich), which simplifies it a little bit.

Setup

Syncthing uses something they call Discovery servers. This usually points to their own server, but I’d like to host it myself on my VPS or other server.

Therefore, this setup branches into two:

  1. Syncthing Discovery Server
  2. Device configuration

Folder and server structure

I have a main home server (and secondary at a different location), which only serve as a receive targets. This way, I get one or two always online copies of my data.

  • home1 - RCV
  • hex1 - RCV
  • laptop - RCV / SND
  • phone - RCV / SND
  • ipad - RCV / SND

Folder structure

  • Documents folder being synced from my laptop
  • Ansible folder is being synced