Hey guys ive been self hosting things for a while now mostly just off a bunch if old computers in a k8s cluster.
The majour issue i have currently is all my data is on a single hdd in an old dektop. Its painfully slow and very risky as i have no backup or anything (i dont feel to great about that).
I really dont have much $ to spend hence my setup is built from a stack of practically ewaste hobbled together. I finally have the $ to buy some drives how should i go about building myself a nas on the cheap?
There’s nothing wrong with a single HDD in an old desktop except for the risk of failure.
I would start by getting one hdd that’s the same size or larger than the one you have and using it as backup. If the old HDD is very old and small you can probably find a larger one cheap, don’t go out of your way to find another small and old one.
Something like Borg Backup will be perfect if you use a Linux filesystem because Borg is incremental, has deduplication and compression built-in. There is a very simple graphical app for it called Pika Backup (for Linux).
There are other solutions if you use Windows but even a simple copy of your important files is better than nothing. Get a HDD and copy files to it right away.
Another backup solution is to buy a DVD or BluRay burner (can be USB or internal) and backup super important files to optical disks. This may or may not be cheaper than a HDD.
Do NOT rush into RAID, Unraid, TrueNAS and other fancy stuff like that. Your priority right now should be backup not RAID. RAID is a convenience for keeping a system running when a HDD fails but it is NOT a replacement for a good incremental backup.
After you have a backup in place and use it regularly you can consider whether RAID and availability is something you want/need.
Your basic components will be an old desktop you have lying around and two hard drives. Put the two hard drives in RAID 1 (mirroring) set with either a network share and/or FTP access to add/remove stuff from the array. The drives optimally should be the same size, but if they aren’t that is OK, the amount of redundant space available will the the size of the smaller of the two drives.
Depending on what you have lying around this might not cost you anything. However, if you are going to spend money anywhere it should be on the drives themselves. You probably don’t need anything fancy, just a pair of 5400RPM HDDs that are large enough to hold your data, plus some room to grow.
You can use any OS of your choosing as basically everything supports the requirements. Linux, Windows, and TrueNAS come to mind as viable options. You may or may not want a third, tiny, drive just to boot the OS, particularly for Windows, as it can make things easier. I personally use Linux for my basic NAS with SFTP access.
With truenas you won’t need raid
Yeah, for TrueNAS it would be a mirrored ZFS array with said two drives, functionally the same.