This last week, I set up an ultra-tiny PC with a 14T external hard drive. Its current role is to back up the most critical files from our main 100T NAS. Since Syncthing has the option to keep multiple copies of files for a week, we don't need to worry too much about the NAS crapping the bed. Plus, if there is a fire, I know what to grab first.

The setup was relatively easy. Install Linux, docker, docker-compose, and a syncthing container. The most difficult part (only because it's my first time doing it) was getting the external USB drive to auto mount on startup with read/write permissions.

My highly recommended tiny PC

https://www.amazon.com/gp/product/B08KCZPQ3P (~$180)

How to burn an image (.iso, .img) to MicroSD card

https://mcwain.net/burn-img/

Quick Docker-Compose setup on fresh install

> sudo apt install curl -y
> curl -sSL https://files.mcwain.net/bash/docker.sh | bash 

docker-compose.yml

version: "2.1"
services:
  syncthing:
    image: lscr.io/linuxserver/syncthing
    container_name: syncthing
    hostname: whatever #name it something
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Los_Angeles
    volumes:
      - /home/sachz/Docker/syncthing:/config
      - /path/to/local1:/media/data1
#     - /path/to/local2:/media/data2
    ports:
      - 8384:8384
      - 22000:22000/tcp
      - 22000:22000/udp
      - 21027:21027/udp
    restart: unless-stopped