Best UPS for NAS and Home Server — Don't Let a Power Cut Nuke Your RAID Array
It’s 2 AM and you’re asleep. A storm rolls through, the power dips for half a second, and somewhere in your home office, eight hard drives stop spinning mid-write. The next morning, you open your Synology’s web interface to find a degraded RAID array, a ZFS pool that won’t import, and a sick feeling in your stomach when you realize the last backup was three weeks ago.
I’ve recovered data from NAS units after power-related corruption. Sometimes it’s a simple filesystem check. Sometimes it’s a multi-day zpool import -F prayer session. And sometimes the array is toast, and the client learns an expensive lesson about the difference between a surge protector and a UPS.
A NAS without a UPS is a ticking time bomb. Here’s how to defuse it — with the right unit, the right configuration, and the right shutdown strategy.
Why NAS storage is especially vulnerable to power loss
A desktop PC that loses power mid-write might corrupt one file. A NAS that loses power mid-write can corrupt an entire storage pool. Here’s why:
RAID stripe writes are atomic — or they’re nothing. When your NAS writes data to a RAID 5, RAID 6, or RAID-Z array, the data is split into stripes distributed across multiple drives. A write operation involves updating data blocks and parity blocks simultaneously. If power cuts halfway through a stripe write, you get a “write hole” — some drives have the new data, some have the old, and the parity is inconsistent with both. On next boot, the RAID controller or filesystem has to decide what to trust. Sometimes it gets it wrong.
ZFS’s Copy-on-Write is a blessing and a curse. ZFS is designed to never corrupt existing data during a write — that’s the whole point of copy-on-write. But the ZFS Intent Log (ZIL) and the pool metadata need to be in a consistent state. A power loss while the ZIL is being flushed to the main pool can leave the pool in a state where it needs manual intervention to import. zpool import -F with the force flag is not a command you want to be typing at 2 AM.
Btrfs and ext4 on Synology/QNAP. These use journaling, which is more resilient than non-journaled filesystems, but the journal itself can be corrupted by power loss. Synology’s implementation runs Btrfs on top of Linux MD RAID, adding another layer where things can go wrong. A UPS that triggers a clean shutdown is the difference between “everything came back fine” and “rebuilding a 40TB volume from backups at 100MB/s.”
Drive head parking. Mechanical hard drives have read/write heads that float nanometers above spinning platters on a cushion of air. When power cuts, the heads need to park safely on the ramp or landing zone before the platters stop spinning. Modern drives have enough rotational inertia and capacitor backup to do this reliably, but it’s still a mechanical event that you want to happen as infrequently as possible. Every ungraceful power-off is a tiny roll of the dice.
The USB connection: your NAS’s lifeline
This is the single most important feature of a NAS UPS, and it’s the one first-time buyers overlook. The USB port on your UPS isn’t just for PC monitoring — it’s how your NAS knows the power is out and when to shut down.
Here’s how it works: you connect the UPS to your NAS with a standard USB-A to USB-B cable. The NAS reads the UPS’s status over USB HID (Human Interface Device protocol) — the same protocol your mouse and keyboard use. It sees: input voltage, battery level, estimated runtime, and whether the unit is on battery or utility power.
When the NAS detects “on battery” and the battery level drops to your configured threshold (I recommend 20% or 5 minutes of runtime remaining), it initiates a safe shutdown. All services stop cleanly, all volumes are unmounted, and the system powers off. When utility power returns, the UPS recharges and the NAS boots normally — no filesystem check required.
The USB connection isn’t optional. Without it, your UPS is just a battery that delays the crash. With it, your UPS is an automated shutdown system.
Synology UPS setup (step by step)
- Connect the UPS USB cable to any USB port on your Synology
- Go to Control Panel → Hardware & Power → UPS
- Check Enable UPS support
- Select USB UPS as the UPS type
- The NAS should auto-detect your UPS model and show battery status
- Configure shutdown settings:
- Shutdown UPS when the system enters standby mode: Optional — enables if you want the UPS to cut output after NAS shutdown (saves battery for future outages)
- Time before the system enters standby mode: This is how long the NAS waits after losing utility power before beginning shutdown. Set it to match your runtime preference — 5 minutes if you want quick shutdown, 15–30 minutes if you want to ride out short outages
- I recommend leaving “time before standby” at 5 minutes and relying on the battery-level threshold through the generic UPS settings instead
QNAP UPS setup
- Connect USB cable to QNAP
- Go to Control Panel → System → External Device → UPS
- Check Enable UPS support
- Select USB as the connection type
- Set shutdown delay and battery threshold
TrueNAS UPS setup
- Connect USB cable to TrueNAS server
- Go to Services → UPS
- Set UPS Mode to Master
- Set Driver to the appropriate driver (for most consumer UPS units:
usbhid-ups) - Set Port to
auto - Configure Shutdown Mode and Shutdown Timer
Multiple devices? Use NUT
If you have both a NAS and a separate server on the same UPS, configure the NAS as the NUT master (it’s physically connected via USB) and the server as a NUT slave. Both will shut down gracefully when the UPS battery hits the threshold. I cover this setup in detail in my home lab power management guide.
UPS picks for NAS: by use case
Compact pick: APC Back-UPS Pro BN650M1 — for 2–4 bay NAS
650VA / 400W, simulated sine wave, line-interactive AVR
For a dedicated NAS UPS where you’re only backing up the NAS itself, this is all the hardware you need. A 4-bay Synology DS923+ pulls 35–50W — this unit will run it for 30–45 minutes on battery. The simulated sine wave output is perfectly fine for NAS hardware, and APC’s USB interface is plug-and-play with every major NAS OS.
The compact desktop form factor takes up minimal space, and at $70–90, it’s cheap enough that there’s no excuse not to have one. The main limitation: 400W isn’t enough if you want to also back up a server, switch, or desktop on the same unit. This is a dedicated NAS tool.
Mid-range pick: CyberPower CP1500PFCLCD — for 4–8 bay NAS + networking
1500VA / 1000W, pure sine wave, line-interactive AVR
This is the same unit I recommend for gaming PCs, and for the same reasons — pure sine wave, solid build quality, informative LCD, and enough capacity to back up your NAS, router, switch, and a small server all at once. If your NAS shares a UPS with any gear that has active PFC power supplies (desktop PCs, some server PSUs, certain external drive enclosures), the pure sine wave output eliminates compatibility headaches.
At $190–220, it’s the sweet spot for a home NAS setup. A 8-bay NAS at 80W plus a 16-port switch at 30W and a router at 10W totals 120W — this unit will run that for 45–60 minutes. More than enough to ride out typical outages or perform a leisurely shutdown.
The USB connection works flawlessly with Synology, QNAP, and TrueNAS via the standard USB HID driver. I’ve personally tested this pairing with DS1821+, DS923+, TS-464, and multiple TrueNAS builds.
Heavy-duty pick: Eaton 5P1500R — for serious home server + NAS setups
1500VA / 1350W, pure sine wave, line-interactive, rack/tower convertible
If you’re running an 8-bay NAS alongside a separate Proxmox or ESXi server, the Eaton 5P series is the next tier up. The 1350W rating is genuine — Eaton’s power electronics are a cut above consumer UPS units, with better overload handling, tighter voltage regulation, and hot-swappable batteries (you can replace them without powering down the connected equipment).
The 5P series is rack-mountable but also ships with tower feet, so it works in either orientation. The management card slot accepts Eaton’s network cards for remote monitoring, and the SNMP interface is NUT-compatible.
At $400–500 new, it’s an investment. But for a NAS storing irreplaceable data — family photos, business records, creative work — it’s the cheapest insurance policy you’ll ever buy. One successful recovery from a power event pays for the UPS ten times over.
Budget pick for small NAS: APC Back-UPS BE600M1
If all you need is basic battery backup for a 2-bay NAS (DS224+, TS-233, etc.), this $55–65 unit covers the basics. 600VA/330W, simulated sine wave, USB port for shutdown signaling. Runtime at a typical 2-bay NAS load of 25W is 20–30 minutes. It won’t win any feature comparisons, but it’ll trigger a clean shutdown during an outage and that’s what matters.
Sizing your UPS: the drive-count method
Here’s a practical sizing guide based on what’s in your NAS:
| NAS Configuration | Typical Load | Recommended UPS (NAS only) | Recommended UPS (NAS + network) |
|---|---|---|---|
| 1–2 bay, 2 drives | 20–35W | 600VA (APC BE600M1) | 850VA (CyberPower CP850PFCLCD) |
| 4 bay, 4 drives | 35–55W | 650VA (APC BN650M1) | 1000VA (APC BR1000MS) |
| 4–6 bay, 4–6 drives | 50–75W | 850VA (CyberPower CP850PFCLCD) | 1350VA (CyberPower CP1350PFCLCD) |
| 6–8 bay, 6–8 drives | 70–100W | 1000VA (APC BR1000MS) | 1500VA (CyberPower CP1500PFCLCD) |
| 8–12 bay + separate server | 100–400W | 1500VA (Eaton 5P1500R) | 1500VA + consider dedicated units |
The load numbers assume modern NAS units with efficient CPUs (Intel Celeron or AMD Ryzen Embedded). Older units with desktop-class CPUs (like the DS1817+ with its Atom C2538 — itself a ticking time bomb due to the C2000 bug) run hotter and draw more power. If you’re running an older NAS, add 20–30% to the load estimates.
The separate-UPS advantage
There’s an argument for putting your NAS on its own dedicated UPS, separate from your servers and network gear. Here’s the reasoning:
Runtime isolation. Your NAS draws 50W. Your Proxmox server draws 350W. On a shared 1500VA UPS at 400W total, you get maybe 12 minutes. On a dedicated 650VA UPS for the NAS alone, the NAS gets 40+ minutes. If the outage lasts long enough that the servers shut down, the NAS stays online — and your NFS/iSCSI shares are still available.
Shutdown simplicity. With a dedicated UPS, the NAS’s shutdown logic is self-contained. One USB cable, one device, no NUT networking to configure or debug. Less complexity means fewer failure points.
Budget scaling. You can start with a $60 UPS for the NAS today and add a larger unit for servers later, spreading the cost across time.
The trade-off is physical space and outlet count. If you’re tight on either, a single larger UPS with NUT is the better play.
What about whole-home battery backup?
Some people look at a dedicated NAS UPS and wonder if a whole-home battery backup is the better answer. It’s a reasonable question, but the answer is usually “both.”
A whole-home battery like a Tesla Powerwall or EcoFlow Delta Pro handles long-duration outages. But it has a transfer time — typically 20–500 milliseconds depending on the system. For TVs and refrigerators, that’s fine. For a NAS mid-write, 20 milliseconds is an eternity. A line-interactive UPS with 4–8ms transfer time bridges that gap.
The ideal setup: a point-of-use UPS for sensitive electronics (NAS, servers), backed by a whole-home battery for everything else. The UPS handles the transfer gap and provides clean shutdown signaling; the whole-home battery handles extended runtime.
Maintenance: when to replace batteries
UPS batteries age whether you use them or not. The sealed lead-acid (SLA) batteries inside consumer and enterprise UPS units have a 3–5 year lifespan. After that, capacity drops sharply — a 5-year-old battery might deliver only 40% of its rated runtime.
For a NAS UPS, this is dangerous because you won’t notice the degradation until an outage happens. The UPS self-test might still pass (it only checks voltage sag, not full capacity), and the NAS will report the battery as healthy. Then a 30-minute outage hits and you get 8 minutes instead of 25.
My recommendation: replace NAS UPS batteries every three years, period. Mark it on your calendar. A replacement battery cartridge costs $30–60 for consumer UPS units — that’s $10–20 per year to guarantee your data is protected. I walk through the complete DIY replacement process, including sourcing batteries and safe disposal, in my UPS battery replacement guide.
Testing your setup
After configuring a NAS UPS, test it. Don’t wait for an actual outage to discover a configuration problem. Here’s the test procedure I use for every client installation:
- Verify connection: Check that your NAS sees the UPS and reports battery level. On Synology, the UPS tab should show “UPS Status: Normal” with battery percentage.
- Simulated outage test: Pull the UPS’s input power cord from the wall (not the UPS’s output cord — that would kill your NAS instantly). The UPS should beep and switch to battery. Your NAS should log a “running on battery” event.
- Runtime verification: Watch the estimated runtime on the UPS LCD or NAS UPS panel. It should match the expected runtime for your load.
- Plug the UPS back in within 2–3 minutes — you’re just verifying the detection and reporting, not testing shutdown yet.
- Full shutdown test (optional but recommended): Only do this when you can afford downtime. Pull UPS input power and let the NAS run until it hits the shutdown threshold. Verify it shuts down cleanly and boots normally when power is restored.
A full shutdown test is the only way to be certain your configuration works. At minimum, do Step 2 within a week of setup and Step 5 within a month.
Bottom line
A NAS stores the data you can’t replace. A UPS costs less than the drives inside it and takes ten minutes to set up. If you have a NAS without a UPS, stop reading and go buy one. Any unit with a USB port and enough wattage to cover your NAS’s draw is infinitely better than nothing.
For most home NAS users, the APC Back-UPS Pro 650 or CyberPower CP1500PFCLCD covers the need at a reasonable price. Connect the USB cable, configure a shutdown threshold, test it once, and replace the batteries every three years. That’s all it takes to protect years of data from a half-second power glitch.
If you’re also setting up a home office, check my picks for the best UPS for home office — and if your UPS is beeping at you right now, start with why is my UPS beeping? before you tear your hair out.
Frequently Asked Questions
Which UPS models are compatible with Synology NAS?
Synology maintains an official compatibility list for UPS devices, but broadly: any UPS with a USB HID (Human Interface Device) interface should work. The models recommended in this article — APC Back-UPS Pro, [CyberPower CP1500PFCLCD](https://www.amazon.com/s?k=CyberPower+CP1500PFCLCD&tag=homepowerfix-20), and Eaton 5P/5S — are all confirmed compatible. Synology DSM's UPS settings are under Control Panel → Hardware & Power → UPS. Enable 'UPS support', select 'USB UPS', and the NAS will automatically detect the model and read battery status. If your specific model isn't auto-detected, it'll still work using the generic USB HID driver.
How do I set up USB shutdown from UPS to NAS?
Connect the UPS to your NAS with a standard USB-A to USB-B cable (the kind that comes with most printers and UPS units). Then: (1) On Synology: Control Panel → Hardware & Power → UPS → Enable UPS support → USB UPS → Apply. (2) On QNAP: System → External Device → UPS → Enable UPS → Select USB. (3) On TrueNAS: Services → UPS → Configure → set driver to 'usbhid-ups' and port to 'auto'. Set the shutdown threshold — usually when battery drops to 20% or runtime drops below 5 minutes. The NAS will then initiate a safe shutdown when those conditions are met. For multi-device setups, configure the NAS as the NUT server and point other devices at it.
How much runtime does a UPS give my NAS?
NAS units are relatively low-draw — a 4-bay Synology typically pulls 30–50W under normal use, and an 8-bay unit pulls 60–90W. On a 1500VA/900W UPS, that translates to 45–90 minutes of runtime. On a compact 600VA/330W UPS, expect 15–30 minutes. That's more than enough for a graceful shutdown — most NAS units can complete a safe power-off sequence in under two minutes. The key number isn't total runtime but how much time the UPS gives you after hitting the shutdown threshold (typically 20% battery), which for a NAS on a properly sized UPS should always exceed five minutes.
How do I size a UPS for my NAS based on the number of drives?
Each spinning 3.5" drive pulls roughly 5–8W at idle and 8–12W during active read/write. A 4-bay NAS with 4 drives: ~50W max. 8-bay with 8 drives: ~100W max. Add 10–20W for the NAS motherboard and CPU. For most home users, a 600–900VA UPS covers any consumer NAS up to 8 bays. The bigger consideration isn't the NAS's draw but what else is on the UPS — if you're also backing up your router, switch, and a small server, size up to 1350–1500VA. If the UPS serves only the NAS, a compact 600VA unit is plenty.
Does my NAS need a pure sine wave UPS?
Generally no — most NAS units use external power bricks or internal PSUs that aren't as sensitive to waveform as active PFC desktop PSUs. Simulated (stepped) sine wave is fine for virtually all consumer NAS hardware. However, there are two exceptions: (1) If you're running a home-built NAS with a standard desktop PSU (Corsair, Seasonic, etc.), that PSU almost certainly has active PFC and needs pure sine wave. (2) If the same UPS is also powering a desktop PC or server with active PFC, you need pure sine wave regardless. For dedicated NAS-only use, a quality simulated sine wave UPS like the APC Back-UPS Pro series works perfectly.