Self-Hosted Cloud Storage in 2026: A Practical Setup That Just Works
说明与用途
作者用 TrueNAS Scale、Nginx WebDAV、ScsDriver 和 Backblaze B2 替代了 Google One 云存储,获得了完全的数据控制和每月约 5 美元的节省。
问题
The author wanted to replace paid cloud storage (Google One) with a cheaper, self-hosted solution without losing data.
结果
The setup costs about $5/month after the first year, far cheaper than paid cloud options, with full local control and reliable backups.
工作流
- Install TrueNAS Scale on the mini PC
- Create a ZFS mirror with the two 8 TB drives
- Create a dataset and share it via WebDAV through Nginx
- Create a user with a strong password and an app password
- Install ScsDriver on Windows, mount the WebDAV URL as a drive
- Install Syncthing on phone or use iOS Files with WebDAV URL
- Set up Backblaze B2 via TrueNAS plugin to mirror the dataset nightly
证据
I have not lost a single file, and I am paying a fraction of what I used to.
The machine runs the operating system, the WebDAV server (Apache + mod_dav or Nginx + dav), the file sync, and a handful of other services.
Electricity: about 12 W × 24 h × 30 d = 8.6 kWh/month. At $0.15/kWh, that is $1.29/month.
Backblaze B2 cold storage (one full mirror, ~6 TB) — about $3.60/month.
Latency is fine for daily work. I edit photos and read code on the mounted WebDAV drive. The first file open has a half-second delay; subsequent reads are cached.
- 记录日期: 2026-10-14T21:41:12.764Z