← Back to all tech guides
πŸ—„οΈ Unraid Guide

UPS Setup & Safe Shutdown for Unraid

Last verified: August 2026

How a UPS Protects the ServerWall power flows through the battery, and a data cable keeps the server informed.1Wall powerNormal outletpower comes in.2UPS batteryHolds power readyfor an outage.3ServerRuns from theUPS, never direct.The USB data cable is what lets the server shut itself down safely.Illustration β€” details vary by home and setup. Follow your own device's screens.
How the UPS sits between the wall and your server.
What Happens in an OutageThe server doesn't just drop β€” it hears the warning and bows out gracefully.1Power lostThe grid goesdark.2On batteryUPS carries theserver for minutes.3Unraid warnedData cable signals'we're on battery.'4Safe shutdownAt your threshold,it powersdown clean.A clean shutdown protects your data far better than a sudden cut.Illustration β€” details vary by home and setup. Follow your own device's screens.
The graceful shutdown a UPS makes possible.

Your Unraid server is a little computer that holds your files, your photos, and maybe your movies and backups. It runs quietly in a corner, and most days you never think about it. But there is one thing that can hurt it more than anything else, and it is not a virus or a hacker. It is a sudden loss of power.

Cost
Free β€” no purchase needed
Time
About 20–30 minutes
Difficulty
Beginner-friendly Β· one step at a time
Bill's hotline
(330) 200-8042

What a UPS (Battery Backup) Is

A UPS - short for Uninterruptible Power Supply - is a box with a battery inside. Your server plugs into it, and it plugs into the wall. As long as the wall has power, it passes that power through and quietly keeps its battery topped up.

The moment the wall power drops - a storm, a tripped breaker, a neighborhood outage - the UPS switches to its battery in a fraction of a second. Your server never notices the gap. It just keeps running on the battery for a few minutes.

  • Bridge short blips - most outages are only a second or two. The UPS covers them so nothing even flickers.
  • Buy time for a real outage - when the power stays off, the battery gives your server the few minutes it needs to shut down safely.

Why a Server Especially Needs One

A desk lamp does not care if the power cuts out. A running computer does. A server cares most of all, because it is often busy writing files in the background even when nobody is touching it.

Unraid is frequently in the middle of something - saving a file, moving data from its fast cache to the array, or running an app. If power vanishes during that work, the file being written can be left half-finished and corrupted. The server did not do anything wrong. It simply lost power at the worst possible instant.

  • A laptop has its own battery built in - it just keeps going. A server usually does not.
  • A server works in the background around the clock, so there is more chance it is mid-task.
  • A server holds the data other devices depend on, so damage there spreads further.

Sizing a UPS, Simply

Sizing sounds technical, but it comes down to one idea: the UPS must be able to power everything you plug into it, with room to spare. Two numbers describe a UPS - watts and VA.

A small home Unraid server often draws somewhere around 50 to 150 watts. A UPS rated for a few hundred watts gives you comfortable headroom, plus a few extra minutes of runtime. When in doubt, size up - a bigger battery costs a little more and lasts longer per outage.

  • Watts - how much power the UPS can actually deliver. This is the number that matters most.
  • VA (volt-amps) - a related, usually larger number. Makers put it on the front, but watts is the honest figure.

A True UPS vs. a Plain Surge Strip

These look similar on a shelf - both are strips with outlets - but they do very different jobs. Getting this wrong is a common and costly mistake.

A surge strip only tries to soak up a sudden spike, like a nearby lightning strike. The instant the power goes out, a surge strip goes dark and so does everything plugged into it. It does nothing to help your server shut down. Only a true UPS, with a real battery, does that.

Connecting the UPS Data Cable (USB)

The battery keeps your server alive, but a second connection does the clever part: a thin USB cable that lets the UPS talk to the server. This is how Unraid knows the power has failed.

This USB cable carries no electricity to run anything. It only carries a message - a quiet, steady I still have wall power, and the moment that changes, now I am on battery. That message is what lets Unraid react in time.

  • Plug the server's power cord into one of the UPS's battery-backed outlets.
  • Find the small USB port on the back of the UPS - most modern units have one.
  • Run the included USB cable from that port to any open USB port on the server.
  • That is the whole hookup - power on one side, a data cable on the other.

Unraid's Built-In UPS Settings

Here is the good news: Unraid already knows how to talk to a UPS. You do not need to install anything extra. There is a settings page waiting for you to switch it on.

Once it is on, Unraid should start showing live details from the UPS - whether it is on wall power or battery, and how much charge is left. Seeing those numbers appear is your proof that the cable and settings are working together.

  • Open Unraid in your web browser the way you normally do.
  • Go to the Settings area and look for the UPS settings page.
  • Turn on UPS support so Unraid starts listening to the cable.
  • Choose the connection type - for a USB cable, that is the usual USB option.

Setting When It Should Shut Down

This is the most important setting on the page. You are telling Unraid: when the battery gets this low, stop everything and shut down safely - while there is still power left to do it cleanly.

Either approach works. The goal is the same: begin the shutdown while there is still a comfortable cushion of battery left, so the server has time to finish safely and is never caught with the battery fully drained. Leaving a cushion of around 20 percent is a sensible, common choice.

  • By battery level - shut down when the battery drops to, say, 20 percent remaining.
  • By time on battery - shut down after the server has been running on battery for a set number of minutes.

Testing a Safe Shutdown

A backup you have never tested is just a hope. Once everything is set, do one calm test so you know it truly works - before a real outage ever puts it to the test.

You do not have to wait for the battery to run all the way down. Many folks lower the trigger temporarily just for the test, confirm the shutdown happens, then set it back. The point is to see the automatic shutdown work with your own eyes once.

  • Pick a quiet moment when nobody is using the server.
  • Confirm Unraid shows it is on wall power and the battery is full.
  • Pull the UPS's plug from the wall - this fakes a power outage.
  • Watch Unraid switch to battery, then wait for it to reach your trigger.
  • Confirm the server shuts itself down cleanly, then plug the wall back in.

How Long the Battery Lasts

A common question is: how long will my server run on the battery? The honest answer is a few minutes - and that is exactly enough, because a few minutes is all a clean shutdown needs.

Runtime depends on two things: how big the UPS battery is, and how much power your server pulls. A bigger battery lasts longer. A hungrier server drains it faster. A typical home setup gets somewhere between five and twenty minutes, which is plenty of room for Unraid to shut down safely.

  • Battery size - a larger UPS holds more charge and runs longer.
  • Server power draw - more drives and more work means less runtime.
  • Battery age - an older battery holds less than it did when new.

Replacing the Battery Every Few Years

A UPS battery is a wear item, like the tires on a car. It works hard and quietly for years, then slowly loses its ability to hold a charge. Plan to replace it before it fails you.

Most UPS batteries last roughly three to five years. As a battery ages, it holds less and less charge, so your runtime shrinks. One day an old battery may give you only seconds instead of minutes - not enough for a safe shutdown. That is why you replace it on a schedule, not just when it dies.

  • The UPS beeps or shows a warning light about the battery.
  • Runtime has dropped noticeably from when it was new.
  • It has simply been three to five years since the last one.

What a Sudden Power Loss Risks

To understand why all this matters, it helps to know exactly what goes wrong when a server loses power without warning. There are two separate dangers.

That parity check can take many hours on a large array, during which the server is slow and busy. Nothing is broken, but it is a long, unnecessary chore - and it only happens because the server was not allowed to shut down properly. A UPS removes both problems at once.

  • Corrupted files - any file being written at that instant can be left half-saved and broken.
  • A long parity check - Unraid was not shut down cleanly, so on the next start it must re-check the whole array to be sure everything lines up.

Pure Sine Wave, Briefly

When you shop for a UPS, you may see the phrase pure sine wave, sometimes at a higher price. Here is what it means, without the electrical engineering lecture.

Wall power comes in a smooth, wave-shaped flow. Cheaper UPS units, when running on battery, produce a rougher, blockier imitation of that wave. A pure sine wave UPS produces a smooth wave that closely matches real wall power. Some modern computer power supplies are picky and prefer that smoother shape.

  • For many home servers, a good standard UPS works fine.
  • If your server has a modern, efficient power supply, a pure sine wave model is the safer match and can avoid odd behavior on battery.
  • When in doubt, pure sine wave is the no-worry choice - it simply costs a bit more.

Protecting Your Network Gear Too

Your server is the priority, but it does not live alone. A little thought about what else goes on the battery can keep more of your home working during a blip.

Your internet modem, your router, and any network switch are small, low-power devices. Adding them to the UPS costs very little battery but keeps your network alive during a short outage - which means remote access and alerts can still get through while the server shuts down.

  • The Unraid server - always first in line.
  • The internet modem and router - small draw, keeps you connected.
  • A network switch - if your server reaches the network through one.

Putting the Right Devices on the Battery Side

Most UPS units have two kinds of outlets: some backed by the battery, and some that only guard against surges. Knowing which is which keeps the battery focused on what truly needs it.

The outlets are usually labeled on the UPS itself - one group says battery backup, the other says surge only. Plug the must-stay-alive gear into the battery group. Keep power-hungry or non-essential things off it, so they do not drain the battery you are saving for the server.

Watching the UPS Status

Once Unraid is talking to the UPS, it shows you a live picture of the battery. Glancing at it now and then tells you everything is healthy - or gives you an early nudge if it is not.

On a normal day this should read: on wall power, battery full, plenty of runtime. If you ever see the runtime shrinking over the months, that is your quiet warning that the battery is aging and a replacement is coming due.

  • Power source - whether you are on normal wall power or on battery right now.
  • Charge level - how full the battery is, as a percentage.
  • Estimated runtime - roughly how many minutes the battery could carry the server.

Getting Alerts on Power Loss

It is one thing for the server to shut down safely. It is even better if it tells you it happened, so you are never surprised to find the server off.

Unraid can send you a notification when it switches to battery, and again when it decides to shut down. That way, even if you are away from home, you learn that the power went out and the server did the right thing. When power returns, you can start it back up with confidence.

  • Power lost - now running on battery.
  • Battery low - shutting down safely.
  • Wall power restored - ready to start again.

Simple Maintenance

A UPS asks almost nothing of you. A few small habits, a couple of times a year, keep it ready for the day you actually need it.

That is genuinely all there is to it. A UPS is a set-it-and-check-it device. Give it a cool corner, keep an eye on the battery age, and it will quietly protect your server for years.

  • Once or twice a year, glance at the UPS status in Unraid for a healthy battery.
  • Keep the UPS in a cool, ventilated spot - heat shortens battery life.
  • Wipe dust off the vents so it does not overheat.
  • Note the date you installed the battery, so you know when it is due.
  • Every few years, replace the battery before it wears out.

Your UPS Setup Checklist

Here is the whole job in one tidy list. Work down it once, and your server is protected from power trouble for years.

  • Buy a true UPS with a battery, sized with headroom over your server's watts.
  • Plug the server into the battery-backed outlets, not the surge-only ones.
  • Run the USB data cable from the UPS to the server.
  • Turn on UPS support in Unraid's settings.
  • Set the shutdown trigger with a comfortable battery cushion, around 20 percent.
  • Test it once by pulling the wall plug and watching a clean shutdown.

What's in the 27-page PDF

  • What a UPS (battery backup) really is
  • Why a server needs one more than most things
  • Picking the right size, in plain numbers
  • Plugging in the data cable and turning on Unraid's settings
  • Setting when it should shut down, and testing it
  • Keeping the battery healthy over the years

Why I wrote this

I write these as printable handouts because a guide you can keep in a drawer beats a web page you have to find again. No jargon, no judgment, no rushing. If you'd rather have someone sit beside you and go through it together, that's a flat $99 first visit with the 30-day follow-up included β€” serving Portage County from Atwater, Ohio. β€” Bill

Want someone to set it up with you?

I'll sit beside you, we'll go through it together, and you set the pace. $99 flat for the first visit, 30-day follow-up included. Serving Portage County β€” Atwater, Ravenna, Kent, Streetsboro and the townships.

πŸ“ž Call (330) 200-8042 πŸ“… Book a $99 Visit

Would you rather I just do this for you?

No shame in it β€” plenty of folks would rather hand it off, and that's what I'm here for. I'll come to your home, set it up right, and make sure it's working before I leave. Flat $99 per visit β€” no jargon, no upsell, and every visit is 30-day come-back-free.

Not a hardware job? I can often fix it remotely for $49 β€” a secure screen-share, up to 2 hours, that you watch the whole time and can end whenever (included free for $39/mo Support Plan members, and it counts toward the $99 if it turns out I need to come out).