Why Homelab Equipment Needs a UPS
Hard drives — especially those in a NAS array — are vulnerable to power loss mid-write. Modern drives use write caching to improve performance, which means a sudden power cut can leave data in an inconsistent state. ZFS and other copy-on-write filesystems are more resilient, but they still need a clean shutdown opportunity to flush caches. A UPS gives your NAS, server, and router time to shut down gracefully when utility power fails.
Beyond data integrity, power outages cause repeated cold boots that stress hardware (capacitor surge on power-on, filesystem checks on restart). A UPS absorbs brief outages (under a minute) entirely, and for longer outages it signals your server or NAS to initiate an automatic shutdown before the battery runs out.
UPS Types: Standby, Line-Interactive, Online Double-Conversion
Standby (offline) UPS: The cheapest type. Runs on utility power normally; switches to battery in 2–10ms when power fails. Transfer time is fast enough for most equipment. Good for non-critical workstations and home networking gear. Brands: APC Back-UPS, CyberPower CP.
Line-interactive UPS: Adds automatic voltage regulation (AVR) that handles brownouts and overvoltages without switching to battery. Transfer time is similar to standby. The sweet spot for homelab use — provides better protection than standby at a modest cost premium. Brands: APC Smart-UPS (smaller models), CyberPower PR series.
Online double-conversion UPS: Utility power continuously charges the battery, and the battery continuously powers the output. Zero transfer time, best power conditioning. Necessary for enterprise servers, largely overkill for home labs. Expensive and less efficient (generates more heat).
How to Size a UPS for Your Home Lab
Step 1: Measure your actual load. A cheap power meter (plug-in watt meter) gives real numbers. Measure each device at idle and under load. Sum them up. Step 2: Add 20–30% headroom so the UPS battery does not cycle at full capacity (shortens battery life). Step 3: Calculate runtime needed — typically 5–15 minutes for a homelab is enough to cover brief outages and allow graceful shutdown on longer ones.
UPS capacity is rated in VA (volt-amps) and watts. Watts = VA × power factor (typically 0.6–0.9). A 1500VA UPS with 0.9 power factor provides 900W of real power. Most homelab setups with a mini PC, managed switch, and NAS total 50–150W — a 600–1000VA UPS gives 15–30 minutes of runtime at that load, which is more than enough.
UPS Sizing Guide for Common Homelab Setups
| Setup | Typical Load | Recommended UPS | Expected Runtime |
|---|---|---|---|
| Router + managed switch + AP | 15–40W | 350–600VA | 30–60 min |
| Mini PC (Proxmox) + switch + NAS | 50–120W | 600–1000VA | 15–30 min |
| Tower server + switch + NAS | 150–300W | 1500VA | 15–25 min |
| Full rack (2 servers + switches + NAS) | 300–600W | 2200VA line-interactive | 10–20 min |
| Single Raspberry Pi + switch | 10–20W | 350VA (basic) | 45–90 min |
Frequently Asked Questions
How does a UPS signal a NAS or server to shut down?
Most UPS units include a USB or serial port. Software running on the server (NUT — Network UPS Tools — on Linux; APC PowerChute on Windows; Synology and QNAP NAS have built-in UPS client support) monitors the UPS status. When the UPS signals that battery is running low, the software triggers a graceful shutdown automatically.
How long do UPS batteries last?
Typical sealed lead-acid batteries in consumer UPS units last 3–5 years. Hot environments and frequent cycling reduce lifespan. Replacement batteries are available from the manufacturer and third parties for most models, usually for $20–60. Replace batteries when the UPS self-test runtime drops significantly from its rated value.
Should I put my router and switch on a UPS too?
Yes, especially the router and switch. If the router powers off during an outage, servers on UPS lose network connectivity and cannot complete remote shutdown procedures. Keep all critical network infrastructure (router, managed switch, AP) on the same UPS as your servers.
What is the difference between VA and watts for a UPS?
VA (volt-amps) is apparent power; watts is real power. The difference is power factor (PF). A UPS rated 1000VA with a 0.9 PF can deliver 900W. Resistive loads (heaters, incandescent bulbs) have PF near 1.0. Modern switching power supplies (servers, computers) have PF 0.9–1.0. Older computer power supplies had poor PF near 0.6. When sizing a UPS, use the watt rating of your equipment and compare to the UPS watt rating, not the VA rating.