Skip to content

Hardware and Storage

Our storage strategy is designed for performance on local services and cost-efficiency for offsite protection.

  • Main Server: Mini PC (Intel/AMD) with a single NVMe/SSD internal drive.
  • Network: 600 Mbps Fiber connection.

We use a flat structure on the internal drive, managed declaratively by NixOS.

Mount PointPurposeBackup Status
/ (Root)Operating System (Nix Store)❌ No (Reproducible)
/var/libPersistent Service Data (DBs, Configs)✅ Yes
/repo/homelabInfrastructure as Code (Nix configs)✅ Yes
/mnt/data/mediaMedia Library (Movies, Series)❌ No
/mnt/data/downloadsTransmission Incomplete/Complete downloads❌ No

We follow the 3-2-1 backup rule (modified for current hardware availability):

  • Primary Cloud (Offsite): Backblaze B2 via Restic. Encrypted locally and synced daily. This is our “Golden Copy” for disaster recovery.
  • Local Secondary: External USB Drive. Planned for fast local restores without relying on internet bandwidth.
  • Geographical Redundancy: Remote SFTP. A second offsite copy in a different cloud provider or physical location.
  1. Creation: Services (Home Assistant, Radarr, etc.) write data to /var/lib.
  2. Persistence: NixOS ensures that these paths are preserved across rebuilds.
  3. Protection: Every night at 03:00, Restic snapshots these directories to Backblaze B2.
  4. Pruning: Old snapshots are removed automatically to keep storage usage optimized.