Why Syncthing?

Cloud sync services own your data. Syncthing syncs directly between your devices:

  • Peer-to-peer — No cloud server, no storage limits.
  • End-to-end encryption — Data encrypted in transit (TLS).
  • File versioning — Keep old versions of changed files.
  • Selective sync — Choose folders and devices.
  • Conflict resolution — .sync-conflict files preserve both versions.
  • Multi-platform — Linux, macOS, Windows, Android.
  • No subscription — Completely free, forever.

Prerequisites

  • Two or more devices.
  • Network connectivity between them (LAN or internet).

Step 1: Install and Pair

# Docker
docker run -d \
  --name syncthing \
  --restart=always \
  -p 8384:8384 \
  -p 22000:22000/tcp \
  -p 22000:22000/udp \
  -v /path/to/sync:/var/syncthing \
  syncthing/syncthing:latest

Web UI at http://device:8384.


Step 2: Sync Patterns

PatternSetupUse Case
Laptop ↔ DesktopShare device IDs, select foldersSame files on both machines
Phone → NASAndroid app syncs camera folderAutomatic photo backup
Multi-device meshAll devices paired, shared foldersTeam document sharing
One-way sendSend-only on source, receive-only on targetBackup archive
Selective foldersDifferent folders per deviceWork on laptop, media on NAS

File Versioning Options

TypeBehaviorBest For
Trash canDeleted/replaced files go to .stversionsSimple recovery
SimpleKeep N old versionsPredictable cleanup
StaggeredKeep versions at increasing intervalsLong-term history
ExternalRun custom script on versionAdvanced workflows

Syncthing vs Cloud Sync Services

FeatureSyncthingDropboxGoogle DriveNextcloud
ArchitectureP2P (no server)CloudCloudSelf-hosted server
PrivacyE2E, no third partyTheir serversTheir serversYour server
Storage limitYour disk2 GB free15 GB freeYour disk
CostFree$12/mo (2 TB)$3/mo (100 GB)Free (self-hosted)
File versioningBuilt-in30 days30 daysBuilt-in
MobileAndroidiOS + AndroidiOS + AndroidiOS + Android
OfflineFull offlineSelectiveSelectiveSelective

Troubleshooting

ProblemSolution
Devices not discovering each otherEnsure both are on same network or enable global discovery; check firewall ports 22000/TCP+UDP
Sync slow over internetEnable relaying as fallback; check if UPnP is disabled on router
Conflict files appearingNormal — review .sync-conflict files and keep the correct version
High CPU/disk during initial syncExpected for large folders; will settle after initial sync completes

Summary

  • P2P sync — your files, your devices, no cloud.
  • File versioning with four strategies for different needs.
  • Zero cost, zero limits — sync as much as your disks hold.
  • Works on every platform including Android for photo backup.