Building My Private Cloud: A TrueNAS Self-Hosting Journey

May 13, 2025 (1w ago)

My TrueNAS Setup

Why I Started

For years, my family and I relied on Google Photos, eventually upgrading to Google One to meet our growing storage needs. But even with the expanded plans, storage always felt limited and expensive. I wanted a long-term solution: something secure, scalable, and personal. That’s what led me down the rabbit hole of self-hosting.

A shoutout to my friend Madhav who introduced me to the world of self-hosting and guided me through the setup process.


Hardware: Building the Foundation

I repurposed an old laptop as the host machine and built a custom NAS using TrueNAS SCALE. It now powers a personal, resilient storage and services system for my entire household.

Parts I Procured

Component Description Cost (INR) Cost (USD approx)
UPS Provides 15 min backup for graceful shutdown ₹3,200 ~$38
Read Cache SSD 500 GB SSD to boost read speed (optional) ₹2,500 ~$30
Ethernet Cables (x2) For bonding & network redundancy ₹200 ~$2.5
USB Hub 3 USB + 1 Gigabit Ethernet ₹1,600 ~$19
Dual Bay HDD Dock PiBox USB 3.0 for main storage ₹1,800 ~$21
Cooling Fan Cabinet USB fan to maintain thermals ₹400 ~$5
2x 8 TB NAS HDDs Seagate IronWolf, mirrored setup ₹16,200 each ~$200 each

Image: Disk list and topology overview Disk Configuration

Image: Pool configuration Pool Configuration


Redundancy: Data + Network Resilience

Image: Network bonding configuration Network Interfaces


Privacy & Access Controls

Every aspect of access is designed with user privacy in mind:

Image: SMB Shares configuration SMB Shares


Functionalities: More Than Just Storage

Self-hosting is more than just a file dump - it is also a smart, extensible home cloud. Here are some of the features I implemented:

1. Cross-Platform File Access

Using Samba (SMB), files are seamlessly available across:

2. Phone Backups

Using FolderSync, our family phones back up photos and files daily to their respective datasets in '/backups'.

3. Personal Google Photos Alternative

Now we use Immich, a beautiful self-hosted media server:

I migrated all photos, videos, albums from Google using immich-go.

Image: Immich server usage statistics Immich Usage

4. Windows Virtual Machine

A lightweight Windows VM runs on TrueNAS:

Image: Virtual machine details VM Configuration

5. App Hosting

Running apps like:

Image: Running applications Apps Running

6. Monitoring & Protection

Image: System overview dashboard System Monitoring


Graceful Shutdowns

While my UPS doesn’t support network monitoring, it gives a ~15-minute backup buffer. I plan to use a lightweight Linux script that listens through the laptop’s microphone for the characteristic beep sound of the UPS. Once detected, the script will safely shut down all services and power off the system to prevent data corruption. This workaround is especially useful for non-smart UPS units and makes use of the laptop’s built-in hardware.


What’s Next?

This setup is just the beginning:

Image: Dataset structure overview Datasets


Final Thoughts

Self-hosting isn’t just about saving money—it’s about owning your data, understanding your digital infrastructure, and building a cloud on your terms. From cross-platform file access to automated backups and virtual machines, this setup powers our digital lives—without relying on big tech.

And it’s just getting started.