this post was submitted on 25 Sep 2026
36 points (92.9% liked)

Selfhosted

62351 readers
804 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Hi y'all looking for advice here

I selfhost a nextcloud server and a NAS for backups, and one of my challenges has been data corruption after power failures.

I went and bought some consumer UPS units about 5 years ago, which helped, but now the batteries are starting to fail, and I'm not protected from power outages until I replace them.

I have the router on UPS as well so the computers can communicate with each other that the power has failed and it is time to gracefully shut down (using NUT).

However the router itself uses quite a bit of power and I am hoping to make a smarter decision this time around when getting a UPS.

The router's power supply is 12V5A with a barrel style jack, so i have been searching for "DC UPS 12V 5A" to try and find something compatible that wastes less energy converting from battery DC to AC for the power supply to then convert back to DC.

But the only thing I've been able to find are these units designed to power electric doors: https://www.amazon.com/dp/B0D8VLPRN2/

I'm not sure if this would even be safe to use with a router, and i don't know how i would wire it up to the router either.

I think i just don't have enough knowledge to know how to shop for an appropriate DC UPS, or if such a thing even exists.

Anyone been in a similar situation?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] poVoq@slrpnk.net 7 points 2 days ago* (last edited 2 days ago) (2 children)

While there is ~~DC~~ AC power the battery in a UPS isn't used. It's not a constant AC-DC-AC conversion, that conversion only happens when there is a power outage.

The problem is that lead-acid batteries are a really shitty technology with high self discharge rates and short overall life span (their only advantage is high burst capacity that's good for starting motors).

I would look for 12V LiFePO4 batteries in a standard lead-acid form factor that are meant as drop in replacements. Those are somewhat more expensive (like 2-3x the price) but will likely last a quarter century or more.

I am currently using an interim solution where my solar inverter has an seperate emergeny power outlet that works even when power is cut. Sadly it doesn't switch to battery fast enough (like half a second delay ๐Ÿ˜“) for it to work as a UPS directly. But in combination with some old regular UPS that have spend batteries that only last a few minutes it works ok. But yeah, not the most efficient option conversion wise, but solar power is free ๐Ÿคท

[โ€“] Blue_Morpho@lemmy.world 2 points 2 days ago (1 children)

I did that and it works well. The only problem is that when the battery goes to 0 on a long outage, the UPS can't recharge it. I had to pull the battery, charge it with a lifepo4 charger, then reinstall.

Short outages are fine.

[โ€“] poVoq@slrpnk.net 3 points 2 days ago

Probably best to use NUT to shut down the servers gracefully if the power outage is too long.

[โ€“] voyagertest@retrofed.com 1 points 2 days ago

Thank you that is a great insight and may be what I do if I can't find an elegant DC solution.