Live data from Hacker News

My Homelab Setup

bryananthonio.com

161–170 of 232 posts

Re: My Homelab Setup

#161

One thing to consider before doing the same, a computer done for homelab has a much lower consumption. The setup mentioned in the article has an avg 600 kWh/year as opposed to a pretty solid HP EliteDesk (my own homelab) which uses 100 kWh/year. Sure you don't get a GPU but for what it is used for, you might as well use a laptop for that.

Mac Mini M1 running Asahi Linux is half of that: 65-70 kWh/year

Re: My Homelab Setup

#162
Folks that use restic - how does it handle laptop backups?

That is - handling laptop going to sleep during backup, laptop being on only for shorter periods of time, etc.?

Because I had issues with backup tooling which wouldn't resume if it got interrupted and expected for the machine to always run at certain hour of the day. I had examples where laptops wouldn't backup for months because they were only on for a short 30-60min bursts at the time and the backup tools couldn't handle piece-meal resume.

How does restic handle that?

Re: My Homelab Setup

#163
post #162

Folks that use restic - how does it handle laptop backups? That is - handling laptop going to sleep during backup, laptop being on only for shorter periods of time, etc.? Because I had issues with backup tooling which wouldn't resume if it got interrupted and expected for the machine to always run at certain hour of the day. I had examples where laptops wouldn't backup for months because they were only on for a short…

https://restic.readthedocs.io/en/stable/faq.html

It will resume from where it got interrupted. The only exception is the initial backup where it doesn't have a snapshot yet.

Re: My Homelab Setup

#164
post #162

Folks that use restic - how does it handle laptop backups? That is - handling laptop going to sleep during backup, laptop being on only for shorter periods of time, etc.? Because I had issues with backup tooling which wouldn't resume if it got interrupted and expected for the machine to always run at certain hour of the day. I had examples where laptops wouldn't backup for months because they were only on for a short…

I invoke backups from a systemd timer. If the schedule is missed (due to sleep, power off etc.) it runs it at the next earliest opportunity.

Re: My Homelab Setup

#165

I have something like this, in the same case. I have beefier specs b/c I use it as a daily workstation in addition to running all my stuff. * nginx with letsencrypt wildcard so I have lots of subdomains * No tailscale, just pure wireguard between a few family houses and for remote access * Jellyfin for movies and TV, serving to my Samsung TV via the Tizen jellyfin app * Mopidy holding my music collection, serving to…

Impressive that all that can run on one machine. Mind sharing the specs?

Ryzen 5950x cpu, 64 gb ecc ram, dual 16 tb drives for zfs, Nvidia 5070 gpu.

Way way overspeced for what I listed, but I use it for lots of video processing, numerical simulations, and some local AI too.

I have a similar subset of this stuff running at my mom's house on a 16 GB ram Beelink minicomputer. With openvino frigate can still do fully local object detection on the security case, whish is sweet.

Re: My Homelab Setup

#166

Earlier quoted context omitted.

One of the most helpful realizations I had as I played around with self-hosting at home is that there is nothing magical about a NAS. You don't need special NAS software. You generally don't need wild filesystems, or containers or VMs or this-manager or that-webui. Most people just need Linux and NFS. Or Linux and SMB. And that's kind of it. The more layers running, the more that can fail. Just like you don't really…

Kind of expanding on this, it feels like a huge chunk of specialized operating systems are just someone just putting their own skin over Debian. The vast majority of services and tools they wrap aren't any more complicated than the wrapper. Hardware is kind of the same deal; you can buy weird specialty "NAS hardware" but it doesn't do well with anything offbeat, or you can buy some Supermicro or Dell kit that's used…

There are exceptions to this such as Proxmox which can actually be added to an existing Debian install. I must admit that when I first encountered it I didn't expect much more than a glorified toy. However it is so much more than that and they do a really good job with the software and the features. If anybody is on the fence about it I recommend giving it a go. If you do, I recommend using the ISO to install, pick ZFS as the filesystem (much much more flexible), and run pbs (proxmox backup server) somewhere (even on the same box as an lxc host with zfs backed dir).

Re: My Homelab Setup

#167

Why are you using restic, when TrueNAS offers native solutions to backup your data elsewhere?

Encryption, deduplication, snapshots. Although if the poster has a zfs based system elsewhere zfs based backups would be fantastic.

Re: My Homelab Setup

#168
post #71
post #46

Earlier quoted context omitted.

You can use tailscale services to do this now: https://tailscale.com/docs/features/tailscale-services Then you can access stuff on your tailnet by going to http://service instead of http://ip:port It works well! Only thing missing now is TLS

This would be perfect with TLS. The docs don't make this clear... > tailscale serve --service=svc:web-server --https=443 127.0.0.1:8080 > http://web-server. .ts.net:443/ > |-- proxy http://127.0.0.1:8080 > When you use the tailscale serve command with the HTTPS protocol, Tailscale automatically provisions a TLS certificate for your unique tailnet DNS name. So is the certificate not valid? The 'Limitations' section do…

It works, I’m using tailscale services with https

Re: My Homelab Setup

#169
post #162

Folks that use restic - how does it handle laptop backups? That is - handling laptop going to sleep during backup, laptop being on only for shorter periods of time, etc.? Because I had issues with backup tooling which wouldn't resume if it got interrupted and expected for the machine to always run at certain hour of the day. I had examples where laptops wouldn't backup for months because they were only on for a short…

/etc/anacrontab can solve your use case.

Re: My Homelab Setup

#170

>Because all of my services share the same IP address, my password manager has trouble distinguishing which login to use for each one. In Bitwarden they allow you to configure the matching algorithm, and switching from the default to "starts with" is what I do when I find that it is matching the wrong entries. So for this case just make sure that the URL for the service includes the port number and switch all items t…

"Because all of my services share the same IP address" DNS. SNI. RLY?

Not to diminish having names for everything but that just shifts the Bitwarden problem to "All of my services share the same base domain."
Post reply on HN