← All guides

Syncthing on Proxmox: sync folders between your devices without a cloud

Syncthing keeps a folder identical on several devices by sending changes directly between them. There is no cloud account and no server in the middle: every device holds a full copy. A homelab container makes a good always-on member, because it is there to receive changes even when your laptop is off.

We tested everything below on 2026-11-28 with two fresh, throwaway Proxmox LXC containers syncing to each other (Debian 13, Syncthing 2.1.7), and deleted them afterwards. The times and memory figures are our own.

How it works, in one minute

Each Syncthing install has a device ID, a long string derived from its certificate. Two devices sync only after each side has added the other's ID, and a folder is shared only with the devices you tick. Devices find each other on the LAN by broadcast, and over the internet through public discovery and relay servers run by the project, which only help devices meet and cannot read the data.

Folders are Send & Receive by default: a change on any device spreads to all of them, including deletions. That is why file versioning matters, see step 4.

Step 1: a small container

  1. Syncthing is light. Our test containers had 1 core, 512 MB of RAM and a 6 GB disk, unprivileged, Debian 13 template, DHCP. No special features or device passthrough are needed.
  2. Size the disk for the data, not for Syncthing: every device keeps a full copy of each shared folder. The container with Syncthing installed used 750 MB before any data.
  3. More cores help with large files, because Syncthing hashes every block on the CPU. Memory barely changes.

On the Proxmox host

pct create 198 local:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst \
  --hostname sync --cores 1 --memory 512 --swap 0 \
  --rootfs local-lvm:6 --unprivileged 1 --features nesting=1 \
  --net0 name=eth0,bridge=vmbr0,ip=dhcp --onboot 1
pct start 198

Step 2: install from the official repository and run it as a normal user

  1. Debian has its own syncthing package, but it trails behind. The project's apt repository gives you the current 2.x release and its updates.
  2. Run Syncthing as a normal user, not root, with the systemd template that the package ships: syncthing@<user>.service.
  3. Pick the user name carefully. We first used sync and the service kept failing with mkdir /bin/.local: read-only file system. Debian already has a system user called sync whose home is /bin. Any other name works; we used files.
  4. After start, the web interface listens on 127.0.0.1:8384 only, and the sync port 22000 listens on all interfaces.

Inside the container

apt-get update && apt-get install -y curl ca-certificates
mkdir -p /etc/apt/keyrings
curl -fsSL -o /etc/apt/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg
echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable-v2" \
  > /etc/apt/sources.list.d/syncthing.list
apt-get update && apt-get install -y syncthing

useradd -m -s /bin/bash files          # not 'sync'
systemctl enable --now syncthing@files
ss -ltnp | grep syncthing                # 127.0.0.1:8384 and *:22000

Step 3: connect two devices and share a folder

  1. You can do this in the web interface (Add Remote Device, then Add Folder), but on a headless container the built-in command line is quicker. Run the commands as the Syncthing user on each side, each time with the other device's ID.
  2. Use the same folder ID on both devices. The label and the local path can differ.
  3. If you want the web interface on your LAN, set a GUI user and password and change the listen address. Better still, keep it on 127.0.0.1 and reach it through Tailscale or an SSH tunnel.
  4. Our two containers found each other through local discovery and showed Connected, TCP LAN, within 20 seconds.

Setup from the command line (run as the Syncthing user)

su - files
syncthing device-id                                   # show this device's ID

syncthing cli config devices add --device-id <OTHER-ID> --name laptop
mkdir -p ~/Shared
syncthing cli config folders add --id homelab-test --label Shared --path /home/files/Shared
syncthing cli config folders homelab-test devices add --device-id <OTHER-ID>

# optional: web UI on the LAN, with a login
syncthing cli config gui user set admin
syncthing cli config gui password set '<long password>'
syncthing cli config gui raw-address set 0.0.0.0:8384

syncthing cli show connections

Step 4: turn on file versioning

  1. Sync copies mistakes as faithfully as it copies work. Delete a file on the laptop and it is deleted on the server too. File versioning keeps the old copy on the device that receives the change.
  2. We turned on Simple versioning, keeping 5 versions, on the receiving container. Then we overwrote notes.md and deleted one file on the other side. Both old copies landed in the folder's .stversions directory with a time stamp in the name, and the Versions button in the web interface listed them for restore.
  3. Turn versioning on for every device where you want that safety net, typically the always-on server. Staggered versioning, which keeps fewer copies as they age, suits folders that change often.
  4. Versioning is not a backup. The versions live in the same folder on the same disk. Back up the server copy separately.

Versioning from the command line

syncthing cli config folders homelab-test versioning type set simple
syncthing cli config folders homelab-test versioning params set keep 5

ls ~/Shared/.stversions/
# docs/f1~20261128-172829.txt   notes~20261128-172829.md

What we measured (2026-11-28, Syncthing 2.1.7)

  • A 1 GB file of random data: 57 seconds from writing it on one container to a matching checksum on the other. That includes the default 10-second delay before the file watcher reacts. About 18 MB/s, limited by hashing on one core of an old AMD Athlon, not by the network.
  • 2000 files of 20 KB each: 26 seconds.
  • Memory: Syncthing runs as two processes, a small monitor and the main process. The whole container used 47 to 77 MB. The main process was about 40 MB idle and about 75 MB after the 1 GB transfer.
  • Disk: 750 MB for the container with Syncthing installed, before any data.
  • No inotify warnings in the log. Our Proxmox host allows 4,194,304 watches, which is set on the host and shared by all containers.

Things to know before you rely on it

  • A deletion spreads to every device. Use versioning, and keep a separate backup of the server copy.
  • Two devices editing the same file before they sync produce a .sync-conflict copy instead of a merge. Fine for documents, not for databases: never sync the data folder of a running app.
  • On first login the web interface asks whether to send anonymous usage reports. Choose yes or no; nothing is sent until you answer.
  • Outside your LAN, devices may connect through public relays when a direct connection is not possible. Data stays encrypted, but it is slower. Over a Tailscale tailnet the devices can usually connect directly.
  • Every member device holds a full copy. For files you only want to browse from a phone, a server app like Nextcloud fits better than sync.

Apps in this guide

More guides

Get new guides by email

One short email when we publish a new guide or add apps. No spam, unsubscribe any time.

Browse all apps →Read the weekly notes →