post
This is why we have UPS ;-)
Seriously, one black out and suddenly you see the need for a UPS. Now my desktop is on a USB, my work laptop and monitors are on a UPS, my homelab is on a UPS, even my modem and router are on a UPS. I just wish I could get a backup generator, but that's not happening anytime soon.
My experience with using an UPS is that they have caised an outage every few years, which is more often than we get power outages where I live, so I didn't replace the batteries last time the UPS took down my server, and are just running straight from the wall. It might be better with a more expensive UPS, but it's not worth it for me.
A hale storm earlier this year and the power outage it caused created some bizarre issue with my home server I have yet to diagnose. All of my containers and VMs corrupted in some way, so I had to restore from backup, but my file server container has some sort of permissions issue on top of that.
Honestly the brownout before the outage is almost definitely what did it, but the cost of a UPS that also protects against brownouts is well outside of my usual hobby budget so it's hard to justify on ewaste hardware that I got a pallet of for less than what the UPS would cost used
Yeah I read up on them before I bought, APC seemed like the best. I test them at least once a year and so far I've only had to replace one battery. Depending on the application I paid between $80 and $180 for each, but the higher upfront cost seems to have paid off for me at least. I am a sample size of 1, your results may vary.
I got tired of my network puking every time the power went out for 5 seconds.
Edit- My NAS really dislikes having the power cut off.
Yep, the black outs have stopped now but for a while it was a daily occurrence. My NAS took a beating and so did my desktop. I spent a ton on ups's to make sure that stuff was protected and bonus, I wouldn't loose connection while on phone calls with government officials while at work.... they get pissy when you suddenly drop off.
I sometimes have power outage in winter (snow storm, ice, etc) and working from home I need a UPS ; modem cable, router, PC, monitors, are on it, it can stand ~5h
I've had good luck with APC. Just be ready to pay a bit more upfront. But so far in the last 6 or 7 years, I've only had to replace one battery.
I bought a used APC Back-UPS Pro BR1500G for $100 on market place, it was a good deal, I replaced the 2 battery inside and added 4 outside (it is supported), I'm ready!
My father was an HPUX admin that had a server with an uptime of >12 years
I was introduced to homelab by trying to figure out how my uncles setup. It ran for 4 years after he died, 11 years uptime. The estate probate prevented anyone from touching the equipment for the legal fights, and I get a kick out of thinking of how smug he would have been about it.
Heard of tuptime? I've been using it for a while now, I think I like it.
System startups: 151 since 18:00:05 10/11/15 System shutdowns: 137 ok + 13 bad System life: 9yr 223d 1h 27m 47s
Longest uptime: 106d 5h 34m 28s from 14:17:10 26/03/22 Average uptime: 23d 4h 32m 0s System uptime: 99.81% = 9yr 216d 12h 31m 51s
Longest downtime: 4d 23h 30m 48s from 10:36:53 14/09/23 Average downtime: 1h 2m 46s System downtime: 0.19% = 6d 12h 55m 56s
Current uptime: 25d 0h 34m 25s since 20:25:37 15/11/25
Are we not doing kernel upgrades?
Was about to say, "or if you're running Arch, the last time you updated the kernel or systemd version, so probably last week or summit."
Yeah thatβs about the only time I have to do reboots at work which are 99% linux. Well the production ones anyway.
Or the other reason is my lab having power issues due to malfunctioning UPSes, faulty NEMA L6-30 plugs, janky 240v circuit breakers orβ¦ Iβm beginning to think my lab is electrically cursed.
While technically the truth, it can be a hassle to make sure you restart all relevant services after updating a given library.
I just like being able to restart underlying system to take care of any possible straggler without thinking, and the services broadly be provided by multiple systems so the "experience" is starting up through a rolling reboot
Or if you have a UPS and backup generator or a house battery (do these need a UPS as well still?) it will tell you how long since you setup the system.
I would suspect you would still want a UPS. I don't think house "power" setups have the switch over speed even if they're automatic. Most home generator setups are manual not sure about battery setups.
My home generator is automatic but you still need an ups because the transfer switch and power on process for the generator isnβt instant. Takes like 10-30 seconds depending on how cold it is and how recently I serviced the generator.
You also ideally need a higher quality ups that can handle the shitty power coming from a generator, although the overall ups doesnβt need to be as βheftyβ as a result. My ups is the kind that has extra filtering and stabilization of incoming power. My old ups was a cheaper cyberpower and it died after a few months of generator usage (we lose power here roughly every 4-6 weeks, thus the auto generator). The cheaper cyberpower would be fine in the majority of home circumstances tbh otherwise.
Battery should be automatic, but yeah not certain how quick the switchover is. At least you could go for the smallest capacity UPS there is as long as it can manage the wattage you are going with.
Pretty sure batteries can be set up for ups. One of the companies I worked for had part of the power for the building as ups. They used orange outlets to mark them. They constantly had to keep telling people not to overload it.
what's uptime?man
I got obsessed with uptime in the early 2000s, but for my desktop Slackware box. It ran a bunch of servers and services and crap but only for me, not heavy loads of public users. Anyway, I reached 6 years of uptime without a UPS and was aiming for 7 when a power outage got me.
Skill issue. Next time you can open up the computers power supply while itβs running, splice in a second power cable, and attach a UPS without powering down or getting electrocuted.
For legal reasons, /s
So, you never update the kernel?
What if I have a really good UPS with like a whole day's worth of juice?
That's either an impressive UPS or an impressively low power server. Either way, congrats!
It's a giant hamster wheel connected to a generator I run in π
Anker have up to 3.8kWh stations, goals. This or Anker's equivalent of the Tesla Powerwall, wall-mounted energy storage.
That's pretty impressive. I have a "big battery" that still isn't that big, but I don't consider it part of my wacky constellation of UPS devices. It's more of an "oh shit, no power, make sure the food doesn't go bad" and keep the refrigerator going for a day kind of thing.
Oh yeah, I think maybe a bunch of smaller UPS is better than one massive one - can't always power everything from one point aha
danggg I wonder how long that bad boy takes to charge after an outage. The page says the solar powered one says < 2 hours but I don't know if I trust that. Thats an insane charge speed for solar
In a critical environment the UPS only has to last as long as it takes to switch over to a backup generator.
I only get about 7 minutes out of mine but that gets it through most power outages.
Pretty sure everybody is missing the joke. The joke is that Debian packages are so stable and stale that you likely will need a reboot before an update.
Also, it's a joke....please patch your boxes, k?
top 88 comments