r/HomeServer • u/Joshua_00 • 15d ago
First time building a home backup server
Hi!
After breking my phone and loosing 3yrs worth of pictures, I decided it's maybe time to setup my own backup/personal server. My budget for the machine is ~200 euro (without hdd), to which I was thinking about adding between 4 to 8 TB of storage (RAID5 or just mirroring).
I have a couple of question:
- I was looking for old Optiplex, in Spain you can find intel gen > 8 and 16gb ram starting from 160 euro. With current RAM prices it doesn't seem that bad, but what machine would be better in this price range?
- For HDD, I was looking into second hand SAS drives as they are much cheaper than SATA on second hand or refurbished websites (less lifespan probably too). What is your experience with those?
- Most Optiplex or Lenovo I have seen are SFF, so they fit only 1/maybe 2 3.5 hdd, but I saw they are very popular anyway. What is a good solution to host them outside the case? Do you use external HDD enclosures with USB connection and external power?
I haven't thought too much about software, probably it's gonna be a debian distribution with btrfs/zfs but it depends on the kind and quantity of hardware I buy.
What would you change in this?
6
u/Zealousideal_Fly8402 15d ago
You'll be spending extra money on a PCIe > SAS controller card; SAS drives are not compatible with standard SATA connections.
3
u/Master_Scythe 15d ago
In the mean time, dont underestimate a 1TB USB stick on your keyring. I backup my phone every time I get a few minutes.
2
u/fonoro 11d ago
On the OptiPlex 7060 SFF specifically, the board has three SATA ports and Dell's configuration allows either one 3.5" bay or up to two 2.5" drives, not both, so RAID 5 inside the case is not realistic and you are down to a single data drive plus the M.2 boot SSD (up to 2 TB, SATA or NVMe). The four DDR4 UDIMM slots take non-ECC only, up to 64 GB, so if you want ZFS you should budget for 16 to 32 GB rather than the 8 GB these units usually ship with (a used 8GB DDR4-2400 stick runs around $78 new). For drives, second hand SAS disks need a SAS HBA, which the SFF has no slot for, so stick with SATA and consider USB-attached enclosures or a small NAS case if you want 4 to 8 TB. If you want internal mirroring or RAID, look at the Tower form factor of the 7060 instead of the SFF, which fits multiple 3.5" bays; also verify the CPU since only 65 W 8th Gen parts like the i5-8400 or i7-8700 are listed for SFF.
More detail on the slots and current prices on a page I maintain: https://partsprices.online/device/dell-optiplex-7060-small-form-factor-intel-8th-gen/guide/?utm_source=reddit
2
u/MrMotofy 14d ago
Just remember your server can fail catastrophically also... it really should be hacked up to another source ideally offsite
1
u/hilokamper 14d ago
Use older PC & install NAS freeware like Xigmanas (was Nas4Free, freenas etc. name change over the years). Personally have been using over 10 years. Early years I used junked pcs & cobbled together parts (mostly trial & error) to learn how to.
Currently still using XT form factor case with Asus board. Using raid with 4 HDD’s. Boots from thumb drive. Very minimal requirements to run.
1
u/Usual-Pen7132 14d ago
I use all used hard drives I've found on Facebook Marketplace, friends/relatives old pc's, or similar places and I bought a 80$ used/refurbished HP elitedesk which is very similar to an Optiplex and I stuffed as many SATA drives I could internally(3) and then bought a 5 bay external HD rack w/fan and it sits right beside that pc tower running OpenMediaVault as my NAS and I also use 2 more USB portable hard drives in addition so, there's 10 hard drives in total. 10 might sound like a ton of storage but, keep in mind this was a low budget build and all the hard drives are between 250gb - 2Tb drives so all of them added up isn't very extreme as far as total capacity and if someone has the budget to buy a few 5Tb+ drives or however much capacity they need then id suggest doing that over having 10+ smaller drives because the power use adds up and even worse, the heat they radiate definitely adds up in a small area or enclosed space but, my point is just that you can make a NAS on a small budget if you're willing to go find the drives or if you want to pay several hundreds of dollars then you can just buy a couple of large ones too.
1
u/Tony1Rice 13d ago edited 13d ago
Apparently it's not like this in other parts of the world, but I have not paid actual money for a used computer since about 1985. Whenever someone asks me, "How do I dispose of old computer junk?", I just say, "Bring it to me. I'll take care of it for you." I've had people bring me computers for disposal that have better specs than any I was using at the time... But also a lot of absolute junk.
Having said that, just about anything that can support a hard drive can be made to work as a backup server. For that purpose, I'm currently using a 2012 vintage Optiplex 790 to which I added a 4TB SATA HDD. To be clear, though, that is a SLED, not RAID, and it is subject to failure at any time without warning so it, in turn, is backed up to an identical drive attached to a different machine and super-important data is backed up to other media and stored off site. FWIW, this particular machine, while I did not "pay actual money for it", did come from a refurb seller - a friend bought it and gifted it to me - so, despite its age, this is not technically one of my many "junk" computers. As far as its performance and reliability, as a "refurbished" computer: It is what is, performance-wise and it is just rock solid reliability-wise. It's also decently quiet and power efficient.
On the Optiplex backup server, I had originally intended to use a USB3-connected external drive but foolishly failed to check the USB ports before buying the drive. It turned out the computer only had USB 2.0 ports which would have worked but would have been unbearably slow. I took the little HDD out of its USB 3 enclosure (which was not at all easy to do!) and installed it as a regular SATA drive inside the computer.
Hardware-wise, the Optiplex 790 has
Software wise, it mostly matches my "daily driver" machine:
0
u/[deleted] 15d ago
[deleted] — view deleted comment