this post was submitted on 16 Aug 2026
22 points (100.0% liked)

askchapo

23311 readers
233 users here now

Ask Hexbear is the place to ask and answer ~~thought-provoking~~ questions.

Rules:

  1. Posts must ask a question.

  2. If the question asked is serious, answer seriously.

  3. Questions where you want to learn more about socialism are allowed, but questions in bad faith are not.

  4. Try !feedback@hexbear.net if you're having questions about regarding moderation, site policy, the site itself, development, volunteering or the mod team.

founded 6 years ago
MODERATORS
 

I am technologically skilled to some extent, but not nearly enough to justify the financial investment I'm about to make In a home server without checking that I'm not way off the mark. Reddit tech answers are usually useless, all jerking each other off about being the most vague and useless. So I'm here, just humbly asking if my plan will work before I waste a ton of money if it doesn't.

So I want to run immich, jellyfin, vaultwarden, and a couple other small programs (including backup automation) on a home server. The photos and videos are very important and I want off of large corporate cloud services for all the reasons you can imagine. There are about 2TB of important photos and data right now to backup.

So my plan: a mini pc with a low-level i3 or i5 chip but about 256gb SSD and 8gb ram. I will buy a UPS, a hub/NAS for 2 4TB HDDs, and a separate hub for backups elsewhere on another 4TB HDD. I already have a pc with an ok graphics card (only like 8 years old, but it was above average then) and good processor. My plan is to run the server with Linux, docker, and portainer on the mini-pc, and do the most intensive work (things like local Machine Learning on the photo library in immich) on the gaming pc. To save on energy, the mini pc is the only thing on most of the time, and I will turn on the old gaming pc to do the hard tasks.

I am hoping a friend will allow me to (somehow? I don't know how yet) keep a hub+HDD backup at their place which is updated weekly automatically whenever their computer turns on.

Is this all achievable? Am I missing something small or huge? Any tech people here know something that I'll likely miss on my first attempt?

top 50 comments
sorted by: hot top controversial new old
[–] Chana@hexbear.net 9 points 5 days ago (11 children)

This will all work but you may want to leave yourself with a few paths for growth that you may want to take now or later, so you'll want to plan your base components accordingly.

  1. 3 drives is the minimum for reliable error correction, like a 3-way mirror, for your NAS. This is a great feature. Some filesystems will let you just keep adding drives to a 3-way mirror, too, which makes expansion easier. You can actually get much more storage efficiency from 6 drives and erasure coding (like raidz2) but that will of course mean needing to buy 6 drives (but getting the storage of 4 not 2).
  2. For good performance you'll want your main service data files local and your big files (like movies and photos) on the NAS. And have a backup strategy that copies your local service data files to the nas.
  3. The machine learning stuff with immich doesn't need a GPU beyond what your CPU already has but it does need RAM. I think you'll want at least 16 GB in general to run these workloads and have room to make changes.
  4. You'll benefit from having a wired network connection between NAS and mini PC. Even just running 1gbe Ethernet from each to a router. This decreases latency and will prevent throttling your WiFi.
  5. For off-site backups I recommend making backups that are encrypted at rest. If this is too expensive (because it basically doubles your photos storage requirement, for example), at least encrypt just before sending to the destination (like with restic or Borg). I also recommend doing some zero trust work on that off-site machine to prevent access - a user accessible only via ssh or root, system storage encrypted. Then there won't be any snooping. Even if your friend is cool you never know who might visit. A backup method that deduplicates can be nice for saving storage and many will also encrypt by default.
  6. If your stronger computer can run virtual machines you can also run workloads on that.
  7. Monitoring is good for everyone but it's especially handy when you're building your own storage and backups solutions so make that a priority. Like setting up Prometheus and grafana and having a bunch of stuff report to it, especially backup attempts and drive health.
load more comments (11 replies)
[–] Beaver@hexbear.net 4 points 4 days ago (1 children)

without checking that I'm not way off the mark.

From your post, you seem ready for it. Go for it. The most important thing is to have it, and use it!

It's always nice to have as much performance as possible, but the minimum specs you posted will work. You might run into issues with Jellyfin's on-the-fly video transcoding if you go too slow, but you can work around that. Modern hardware can be suprisingly low-power, too. But don't set yourself an arbitrarily low power limit; a PC drawing 40 watts only costs ~$50 a year to run continiously.

I am hoping a friend will allow me to (somehow? I don't know how yet) keep a hub+HDD backup at their place which is updated weekly automatically whenever their computer turns on.

The approach I took is: a raspberri pi with a big hard drive plugged in to my parent's router. All it does is auto-backup from my home server.

I know people are going to freak out about exposing a sever to the internet, and that definately is a risk. But honestly, what's the point of the server if it's not exposed to the internet?

[–] DutchMZTer@hexbear.net 2 points 4 days ago (3 children)

heart-sickle

I was definitely going to expose it to the internet, or at least through tailscale make it available remotely. I want to look at my pictures everywhere!

But is your raspberry pi running like docker and portainer instance? Or how did you do the auto-backup?

load more comments (3 replies)
[–] Carl@hexbear.net 7 points 5 days ago (6 children)

Hey this is what I just got through doing!

I ended up exposing a website (and buying a domain and stuff) but if you don't want to do all that then setting up a tailnet so that your home server and other devices can all share data securely is pretty easy. I don't even have a monitor plugged into my server anymore, I have ssh aliases set up for it on my desktop and laptop to manage it remotely.

Before buying hardware I would ask if your proposed two PC setup is really necessary. Home servers do not need new hardware, a single person just isn't going to be putting that much strain on it. Even considering the energy difference between a mini PC and an old PC, you're probably looking at having to run the old PC for multiple years at full blast before it ends up costing more than the mini PC - if nothing else I would say get the old PC set up first and then determine whether the mini PC would actually improve your setup or not before buying anything.

As for an off-site backup, I would look into the free tier of Amazon AWS or similar. Putting a computer at a friend's house is certainly an option, but I personally would rather be mirroring my server to a dedicated service of some kind.

load more comments (6 replies)
[–] tactical_trans_karen@hexbear.net 2 points 3 days ago (1 children)

Very achievable! I would recommend just buying Unraid as an OS, it makes things so so so much easier imo. Also, just grab an old pc off of eBay or if you have one lying around just put it in a more suitable case. My server is a 4th gen i5 that I got for free and it does everything I need it to do with no difficulty. If you want locally hosted machine learning or LLM models, or doing video encoding, then spring for at least an 8th Gen Intel (most Intel CPUs have an edge on AMD for these purposes.).

If you go with the older stuff, ram is cheaper because it's of an older standard that is being phased out and isn't in high demand. For hard drives, go on eBay and buy used enterprise grade drives. I like the HGST ones filled with helium. They'll usually have 5-8 years of up time on the clock in a heavy load setting, and in a home use setting they'll easily last a decade or more.

If you have a pc recycler place near you, search through their inventory for useful stuff. And don't cheap out on your power supply!

[–] DutchMZTer@hexbear.net 1 points 3 days ago

Im not American, so this all sounds like Greek to me lol. As you can see by the name, im in the Netherlands, and here this used/cheap market is non-existent lol. People resell things at like 90% of new price around here.

[–] Snort_Owl@hexbear.net 7 points 5 days ago* (last edited 5 days ago) (1 children)

Yeah just make sure you use tailscale or something like it to connect to the server dont expose it publicly.

nginx proxy manager and a domain name if you want SSL and hostnames for shiz

oh and test your backups, an untested backup isn't a backup at all

[–] DutchMZTer@hexbear.net 2 points 4 days ago (8 children)

Thanks for the advice! How does one test a backup?? Just plug it into another laptop and check if the photos are viewable?

And I was going to use tailscale but without a domain. Idk how exactly that works yet, havent gotten so far, but thats possible right?

load more comments (8 replies)
[–] nasezero@hexbear.net 6 points 5 days ago* (last edited 5 days ago) (1 children)

Are you planning to expose services to the internet, or are you keeping everything only locally-accessible? If the former, you'll definitely want either: a reverse proxy handling SSL certs between your router and any exposed services; or a vpn tunnel like wireguard.

I'd also recommend giving Proxmox a try. I was a little intimidated when I first started setting up my own cluster, but it's honestly not that hard and I wish I had done it before I set up some of machines as standalone ubuntu and debian. Even with 1-2 machines I'd recommend it for the convenience of being able to manage VMs on every machine within a single web UI, as well as making backups much easier especially with Proxmox backup server. Note that the default installation has some subscription nag and defaults to an Enterprise repository for system updates, but there's this post-install script that takes care of all of that.

For off-site backups at friends' houses, you could set up S3 storage on a device they plug into their network, although this would require its own dedicate reverse proxy and cert management + said friend letting you into their router's settings page. You could also offer to host your own and "trade" space, using the argument that even if they're not interested in self-hosting it's still a good idea for everyone to have some off-site backup space that isn't at the whims of Google.

[–] DutchMZTer@hexbear.net 2 points 4 days ago (1 children)

Does proxmox replace portainer?? And what makes it hard if a machine is already a standalone ubuntu machine??? Thanks for your reply!

[–] nasezero@hexbear.net 1 points 4 days ago* (last edited 4 days ago) (1 children)

No, but Portainer can be used to help manage multiple VMs within a Proxmox cluster. You'd set up Portainer on a VM like you would any other system, and then deploy an agent to other VMs (or even other machines on your network). Think of Proxmox as your hardware abstraction layer, and tools like Portainer (or dockge, dockhand, etc) as further abstractions for your containers.

And what makes it hard if a machine is already a standalone ubuntu machine???

I would have to wipe the Ubuntu boot drive and replace it with the Proxmox iso, and then re-set up anything I have running on Ubuntu within the new environment. It's mostly just tedious migrations that I don't want to do badly enough right now, lol.

[–] DutchMZTer@hexbear.net 2 points 4 days ago (1 children)

Is it not possible to run proxmox on Ubuntu? Or did you set all this up in just ubuntu to where it must be completely translated to proxmox?

[–] nasezero@hexbear.net 2 points 4 days ago* (last edited 4 days ago) (2 children)

I mean I guess you could run Proxmox on a VM in Ubuntu, but I'm not aware of any use cases for such a setup (it's fine for trying it out, I guess). Proxmox is more intended to be the platform which you manage VMs on top of.

What I'm suggesting is installing Proxmox as the root OS on your machines (at least any that would run Linux anyways), join them together into a cluster, and then install VMs on top of that. To be clear, the VMs would still run on individual machines, but Proxmox gives you a handy web UI from which you can mange any machine and any VM on those machines. You can also later explore LXC's, docker swarm, and kubernetes, but I think just starting out with a simple Proxmox cluster running a couple of VMs is a good place to start. (And then backup said VMs using Proxmox Backup Server)

[–] DutchMZTer@hexbear.net 2 points 4 days ago (1 children)

Ok I read a bunch more on this, but am left with one really technical question. I am now leaning towards making my pc double as my server because it already meets most requirements and would save me a lot of money.

But if I do it via proxmox, I can't see a way I could still use the pc for any gaming without turning off the proxmox servers. I could do an Ubuntu or windows VM within proxmox, but from what I know, games will not run well on VMs, so it would require a dual boot setup with separate drives.... meaning my server turns off to turn on games.

Am I correct in my conundrum?

[–] nasezero@hexbear.net 2 points 4 days ago

Ah yeah, you can enable a desktop environment on the Proxmox machine and (I assume, haven't tried it myself) have an experience more or less like regular Debian with VMs running in the background (that you can shut down to free up resources when gaming). I would consider this really over-engineered, and only worth doing if you're happy to get the learning experience and dealing with the added complexity, and possibly tearing it all down and starting over if it doesn't perform well. Absolutely nothing wrong with just running Ubuntu/Bazzite/whatever natively, and running docker containers on that can be spun down when gaming.

[–] DutchMZTer@hexbear.net 2 points 4 days ago

Holy shit thats a lot of layers and im not following entirely... but I think I need to figure it out myself a bit. So ProxMox is just the base OS and I could install Ubuntu within Proxmox on a VM, but all my server shit is just within proxmox but not within the Ubuntu VM.... I didnt understand Proxmox at all before this, turns out

[–] chgxvjh@hexbear.net 5 points 4 days ago

Get a tower case that can fit your HDDs and a mainboard with enough SATA ports.

[–] Blazkowicz@hexbear.net 5 points 5 days ago (3 children)

You are largely on the right path. Get your HDDs second hand and you will save a lot, and you probably don't need a separate hub for the server as they could just go straight into the motherboard. Check its model to make sure it supports at least 4 sata ports for expandability (ideally 6+ but harder to find). Use the HDDs in a raid configuration which protects data if one fails.

A UPS is probably overkill unless you live somewhere with regular power outages, and even then you might not really need one... Could be something you get down the line rather than immediately if cost is a concern.

For CPU I recently built my home server with an Intel i5 12500T that I got used with a warranty. The iGPU on it is actually great and handles transcoding for jellyfin exceptionally well. I run it all through docker on debian and drivers are all fine for it too (there is a bit of setup for GPU support with the docker image but not much). Personally I would not bother with portainer and use docker+docker compose directly. It's fairly simple to set up an ssh connection from your pc to the server over your local network for admin work. If you go down a path which has you using gluetun then I highly recommend you do not use portainer to manage that setup.

I do some machine learning on my music library with just 32GB ram and the cpu. It's running 24/7 and not urgent so I never bothered with a GPU. ML runs just fine on a CPU, but a bit slow. You may find you don't need a gpu for image analysis workloads.

Generally you want to keep power consumption low. I run around 20 docker containers giving me a full backup system, home media system, gaming servers for friends, and a few other things which totals around 1.5Kw per day. Where I live this works out at at around an hour of minimum wage per month to run. I suspect if I went with a laptop oriented CPU I may have made some more savings here.

For off site backups I would personally just store historical data on an encrypted external SSD then leave it with a friend. Gets a bit trickier to do it in real time but if you go that route then use tailscale as other have suggested. Do not port forward anything to your server or your friend's house as it's a unnecessary risk which you can skip with tailscale.

load more comments (3 replies)
[–] KnilAdlez@hexbear.net 5 points 5 days ago* (last edited 5 days ago) (1 children)

Enjoy not getting paid for full time, on call server administration!

That all looks fine, as other said. No reason to use a GPU for ML tasks that can run overnight for example. Might be nice of you get into home assistant in the future though.

[–] DutchMZTer@hexbear.net 2 points 4 days ago (1 children)

My family does very little media consumption, so I think immich is the only thing that will be weekly used. But once every couple weeks we will watch a movie or something. Does just immich require so much upkeep??

[–] KnilAdlez@hexbear.net 3 points 4 days ago (1 children)

Not at all. Nothing you use will require very much upkeep at all. And yet, I guarantee it will go down at the least convenient opportunity. Upgrades will break things inexplicably. Stuff will just not work for no reason. Self-hosting is fun and rewarding, don't get me wrong, but there's a reason people get paid good money to work on this stuff professionally.

[–] DutchMZTer@hexbear.net 2 points 4 days ago

My personal profession is in managing existing hardware and software systems... but I've never gotten to get into the weeds because I came from another background! So servers are something I daily talk about, but from a totally different technical expertise. I'm excited to learn it and use it :)

[–] opiumfree@hexbear.net 2 points 4 days ago* (last edited 4 days ago) (1 children)

if you hire a home chef usually they will serve you the food as well on the table where they also work so no need to get a home server

[–] DutchMZTer@hexbear.net 1 points 4 days ago

head smack why the fuck didnt i think of that

[–] electric_nan@lemmy.ml 4 points 5 days ago

I do pretty much what you're describing. Mine runs on an old Dell tower (poweredge?) server from eBay. I use Yunohost to install/manage all the server software/apps. It connects to the internet via wireguard proxy to a cheap VPS. I also have an offsite backup (also over wireguard) to a rpi with a big external hard drive.

[–] Majestic@lemmy.ml 3 points 4 days ago (11 children)

Some points:

  • 8GB RAM is a little low, I'd really try to find something with 12 or 16GB if possible for multiple services and having some safe margin but if you're comfortable running with thin margins then go for it.
  • IMO try to get an intel chip with quicksync transcoding support so a chip with an iGPU (intel graphics). That way even your little mini-PC can do quick and dirty transcoding when needed without needing to bring in your main PC. You can do without it but consider whether the convenience of having on the fly transcoding support for Jellyfin and/or being able to run transcoding of stuff while you sleep without your computer on and fans humming would be worth it.
  • A NAS is an additional expense of several hundred dollars. Consider whether you could get a used or refurbished desktop with multiple internal 3.5" bays (nothing really old, you want something from the past 5 years IMO so check release date of the processor model among other indicators) that would suit your needs instead. A DAS (or USB attached storage device that's similar to a NAS but relies on a computer) could also work even with a mini-PC. You should ensure it has an external power supply because your computer won't have enough power for it.
  • RAID is not a backup. Repeat that with me. RAID is error correction. Do not use it as a backup. Do not use it in place of a backup. If you don't have money for both RAID and backups then just stick to multiple backups (ideally create check-sum files for important things like family photos but ignore for movies and television you can just get new copies of).
  • Syncthing could do such backups to your friend's place
  • Consider buying a little USB powered or AC powered 120/140mm cooling fan to set your mini-PC on to keep it extra cool. Not required if you're not pushing it all the time but may help keep it happy and healthy longer and isn't a bad way to spend $20.
  • On the subject of fans if you're using your hard drives frequently I would try and ensure your DAS has a built in fan. Heat doesn't help hard drive longevity and you want to try to keep your drives under 45C most of the time.

So in short I'd say dump the NAS, spend the money from that to instead get to more than 8GB RAM, get a recent intel chip with an iGPU that supports quicksync and if possible go for the i5 over the i3 as processors can lower their power states when not in use to save power so the difference when idle between it and an i5 is negligible but the extra power when in use may be nice.

load more comments (11 replies)
[–] blicky_blank@lemmy.today 3 points 4 days ago (1 children)

I got one of these a few years ago: https://www.notebookcheck.net/Testing-Trigkey-Mini-PC-with-Intel-N100-16-GB-RAM-and-a-500-GB-SSD-for-less-than-200-USD.768945.0.html

If you can stretch it, I'd try to get 12 or 16 GB Ram, I run all these programs on it and it usually hovers around 6-7GB usage.

You can probably skip using the gaming PC for immich, i added about 300+GB to Immich and the machine learning stuff took less then a day to process them all. (Using HWA on the integrated GPU).

Also for your HDDs get a powered HUB, these mini pcs can handle 1 external drive and a second one will usually drain too much power. (It took me several months to figure out why it was randomly crashing)

load more comments (1 replies)
[–] makotech222@hexbear.net 3 points 5 days ago (1 children)

Yeah i pretty much do the same thing, except i use my main gaming/work pc as also my always-on server. I just set up a wireguard VPN on the server as well and connect my family cell phones to the vpn to get access; i don't use a public IP or anything. I have immich and jellyfin currently. On Windows also.

load more comments (1 replies)
load more comments
view more: next ›