Science & Technology

I am One Failure Away From Data Loss

by Linus Tech Tips

Share:

Export

⬇ Markdown PDF 🔒

📚 Main topics

  • A Home Server in Bad ShapeLinus’s heavily modified, aging TrueNAS setup had drifted far from the documented configuration, and some of his data lacked a proper 3-2-1 backup. He planned to migrate to a fresh HexOS installation and use Buddy Backup to protect his files. 0:00
  • Building a Temporary NASThe team assembled a temporary server with a Ryzen 7 5700X, 32 GB of ECC RAM, an SSD, six 24 TB drives, and an RTX 3050. They chose RAID Z2 for added protection during drive replacement, while noting that RAID redundancy is not a substitute for backups. 2:03
  • Setting Up HexOSHexOS guided the team through creating a storage pool and configuring the server, including choosing RAID Z2 for the high-capacity drives. The setup also highlighted options for folders, encryption, memory testing, and apps. 7:45
  • Trying Buddy BackupLinus requested space on a buddy’s server, selected a folder, and configured an encrypted backup. The feature supports quotas, transfer-speed limits, and choosing which pool stores the backup. 15:07

✨ Key takeaways

  • Follow the 3-2-1 PrincipleKeep three copies of important data across two types of media, with one copy offsite. A redundant storage array alone does not meet this goal. 5:12
  • ECC and Power ConsiderationsECC memory is not required, but can be advisable when using RAM write caching. The server’s power supply also needs headroom for hard-drive spin-up and possible GPU workloads. 3:08
  • Buddy Backup ControlsThe recipient controls their server and can set capacity limits, while the person sending the backup retains control over their own data. Backups are encrypted so the recipient cannot browse their contents. 15:07
  • TrueNAS Under the HoodHexOS uses TrueNAS as its underlying storage platform, combining its established foundation with a more approachable interface. 8:25

🧠 Lessons learned

  • Keep the Setup MaintainableYears of patches and custom changes made Linus’s old server difficult to manage and migrate. Starting with a clean installation offered a chance to restore a more conventional setup. 0:30
  • Plan for Recovery, Not Just RedundancyRAID Z2 can tolerate drive failures during a rebuild, but a separate backup is still necessary to protect against data loss. 10:27
  • Set Backup Limits ThoughtfullyBuddy Backup allows both parties to manage quotas and bandwidth, helping protect storage capacity and network performance. 19:20

✨ Conclusion/Next steps

  • Migrate and RestoreLinus planned to let the temporary server back up his data, then wipe and rebuild his home server before moving the data back. 20:21
  • Expand the Home Server SetupOnce the migration is complete, he wants to install apps such as Jellyfin and explore more of HexOS’s features. 20:53

Transcript excerpt

0:00 I feel a little like the mechanic with the broken down [music] car because I'm a tech guy and yet my home file server is in a Canadian state. That is to say pretty sorry condition. I started out with a plain jane installed with a nice big array and a handful of virtual machines. But then I went and installed a pre-alpha version of hexos over top of it that is so old that I didn't even have to say investment disclosure back when I

0:30 installed it. You add on years of patches, not to mention some configuration changes. I am what I am after all. And it has all evolved into something that is unique enough that I can't just blindly follow the docs and expect [music] things to work. Nothing is where Hexos expects it to be. And TrueNAS's UI is well, that's what I was trying to get away from when I invested in Hexos in the first place. But Hexos just hit a major milestone that is going to make it easier than ever to migrate to a proper [music] install for me.

1:00 Buddy Backup, which was one of my musthave features, is finally in beta, and I'm going to use it to get my house in order. Um, [music] because let you know on something, due to some issues with my fireproof NAS, I don't even have proper 321 going right now for some stuff. Like, it's bad. So, here's the [music] plan. We are going to one, wrap up this intro. Two, segue to our sponsor, you green. No, no, wait, wait, wait. My bad.

🔒 The full, searchable transcript is available with Pro.

🔒 Unlock Premium Features

This is a premium feature. Upgrade to unlock unlimited Q&A, transcripts, mindmaps, and translations.

Questions & Answers

Common questions about this video

Why did Linus decide to build a fresh server instead of continuing to use his existing one?

His existing server had accumulated years of patches and configuration changes after he installed an old pre-alpha version of HexOS, making it too customized to follow the documentation reliably. He also lacked proper 3-2-1 backup protection for some data, so he planned to back everything up, wipe the server, and start fresh. 0:30

What hardware did Linus choose for the temporary server, and why?

He chose an Asus B550 Plus motherboard with a Ryzen 7 5700X, 32 GB of ECC DDR4 memory, a 1 TB SSD, a Fractal Design Define 7 XL case, and six 24 TB Seagate Exos drives. The system was intended as a capable, enthusiast-grade temporary NAS with room for storage and virtualization. 2:03

Why did Linus recommend ECC memory for the NAS?

ECC memory is not strictly required for TrueNAS or HexOS, but Linus recommended it if using write caching into RAM. He noted that on AM4, you need a motherboard that supports ECC memory; a special CPU or motherboard is not necessarily required. 3:08

What does the 3-2-1 backup strategy call for?

It calls for three copies of your data—the original plus two additional copies—stored across two types of media, with one copy kept offsite, preferably a significant distance away. Redundancy in a RAID array is not a substitute for a proper backup. 5:12

Why did HexOS choose RAID Z2 for the new server?

HexOS recommended RAID Z2, which uses two drives for parity and can remain protected through a drive rebuild. With high-capacity drives, rebuilding can take days, and a second drive failure during a RAID Z1 rebuild could result in data loss. 9:56

How does HexOS Buddy Backup protect data between users' servers?

A user requests space on a buddy's server, and the buddy can accept the request and set limits such as storage capacity and transfer speed. Backup data is encrypted so the server owner cannot browse the files, and both users can manage quotas. 15:40

Can the recipient of a Buddy Backup see the backed-up files?

No. The backup is encrypted, and the recipient is told that only the person who created the backup can view its data. The recipient can manage storage and quotas without accessing the backed-up files. 17:15

What happens if HexOS were to stop existing?

Linus said the server would still be running TrueNAS under the hood, so users would not be left without the underlying NAS platform if HexOS disappeared. 18:50

🔒 Unlock Premium Features

Access to Chat is a premium feature. Upgrade now to unlock unlimited studying tools.

🔒 Unlock Premium Features

Access to Mindmap is a premium feature. Upgrade now to unlock unlimited studying tools.

🔒 Unlock Premium Features

Access to Flashcards is a premium feature. Upgrade now to unlock unlimited studying tools.

Get unlimited summaries, Q&A, transcripts and more with Pro

Upgrade to Pro

Suggestions

🔒 Unlock Premium Features

Access to AI Suggestions is a premium feature. Upgrade now to unlock unlimited studying tools.