Protect Your Plex Server With a UPS Battery Backup
Published 2026-10-14 · PlexBeam
A sudden power loss can corrupt your Plex database, damage hard drives mid-write, and leave your server in a state that requires manual repair. A UPS (uninterruptible power supply) gives your server enough battery time to shut down safely when the power goes out, protecting your data and hardware. This guide covers how to choose the right UPS, set up automatic shutdown, and configure monitoring.
Why a Plex Server Needs a UPS
Plex writes to its database constantly — logging watch history, updating metadata, caching analysis results, and tracking active streams. When power cuts during a database write, the SQLite database can become corrupted. The result: empty libraries, lost watch history, or a server that will not start until you rebuild the database manually.
Hard drives are even more vulnerable. A mechanical hard drive writing data during a power loss can develop bad sectors as the read/write head crashes into the platter. SSDs are more resilient but can still lose data in their write cache.
A UPS provides two things:
- Battery runtime — typically 5-30 minutes depending on the UPS size and your server's power draw. Enough time for a safe shutdown.
- Surge and power quality protection — the UPS filters dirty power (brownouts, voltage sags, spikes) that can shorten hardware life over time.
Choosing the Right UPS
Calculate Your Power Needs
You need to know how much power your server draws. The easiest way: plug the server into a Kill-A-Watt meter (about $20) and read the wattage during normal use and during heavy transcoding.
Typical power draws for Plex servers:
| Server Type | Idle Watts | Load Watts |
| Raspberry Pi / mini-PC | 5-15 W | 15-25 W |
| NAS (Synology/QNAP 4-bay) | 30-50 W | 60-80 W |
| Desktop tower (no GPU) | 50-80 W | 120-200 W |
| Desktop tower (with GPU) | 80-130 W | 250-450 W |
| Enterprise server (1U/2U) | 100-200 W | 300-600 W |
Size the UPS
UPS capacity is rated in VA (volt-amps) and watts. The watt rating is what matters for sizing. A good rule: buy a UPS with a watt rating at least 1.5x your server's maximum power draw. This gives enough headroom for the UPS to provide clean power and reasonable runtime.
Examples:
- Mini-PC (25 W max) → 300-400 VA UPS ($40-60)
- NAS (80 W max) → 600-750 VA UPS ($70-100)
- Desktop server (200 W max) → 900-1500 VA UPS ($100-200)
- Server with GPU (450 W max) → 1500-2200 VA UPS ($200-350)
UPS Types
- Standby (offline) UPS: The cheapest option ($40-100). Switches to battery when power fails. The switchover takes 5-12 milliseconds — fast enough for most computers, but sensitive equipment may notice the gap. Fine for most Plex servers.
- Line-interactive UPS: Mid-range ($80-250). Regulates voltage continuously without switching to battery for minor fluctuations. Better for areas with frequent brownouts or voltage sags. The most popular choice for home servers.
- Online (double-conversion) UPS: Premium ($250+). The load always runs on battery power with continuous charging. Zero transfer time, perfectly clean power. Overkill for home use; standard for data centers.
Recommended Models
Popular choices for Plex servers in 2026:
- APC Back-UPS BE600M1: 600 VA / 330 W, USB monitoring, compact. Good for mini-PCs and NAS devices. Around $70.
- CyberPower CP1000PFCLCD: 1000 VA / 600 W, pure sine wave output, LCD status screen. Good for desktop servers. Around $130.
- APC Smart-UPS SMT1500C: 1500 VA / 1000 W, line-interactive, SmartConnect cloud monitoring. Good for GPU-equipped servers. Around $350.
Setting Up Automatic Shutdown
A UPS without automatic shutdown only delays the problem — when the battery runs out, you get the same hard power cut. The UPS must signal the server to shut down safely while battery remains.
USB Connection
Most consumer UPS units have a USB port that communicates battery status to the connected computer. Plug a USB cable from the UPS to the server.
Linux: NUT (Network UPS Tools)
NUT is the standard UPS monitoring daemon for Linux:
- Install NUT:
apt install nut - Configure
/etc/nut/ups.confwith your UPS model. - Configure
/etc/nut/upsmon.confto trigger a shutdown when battery reaches a critical level (typically 20% or 2 minutes remaining). - Start the service:
systemctl enable --now nut-server nut-monitor
NUT also supports network monitoring — one server can monitor the UPS and signal other devices on the network to shut down. Useful if your NAS and Plex server are separate machines on the same UPS.
Windows: UPS Software
Windows has basic UPS support built in: Control Panel > Hardware and Sound > Power Options. When a UPS is connected via USB, Windows detects it and shows battery status. Configure the critical battery action to Shut down.
For more control, install the manufacturer's software: APC PowerChute, CyberPower PowerPanel, or Eaton Companion. These provide monitoring dashboards, email alerts, and configurable shutdown thresholds.
Synology / QNAP NAS
Synology DSM and QNAP QTS have built-in UPS support:
- Synology: Control Panel > Hardware & Power > UPS. Enable UPS support, set it to safe mode (shutdown) when battery drops below threshold. Supports USB-connected UPS and network UPS (via NUT).
- QNAP: Control Panel > External Device > UPS. Similar configuration — connect via USB and set the shutdown threshold.
Docker / TrueNAS
If Plex runs in Docker on a Linux host, NUT on the host handles the UPS. When NUT triggers a shutdown, Docker containers stop gracefully as part of the normal shutdown process.
TrueNAS has NUT integrated: System > UPS. Connect the UPS via USB, configure the driver and shutdown settings. TrueNAS will safely stop all jails and apps before powering down.
Monitoring and Alerts
Know when your UPS activates so you can investigate power issues:
- NUT + email: Configure NUT's
notifycmdto send an email or push notification when the UPS switches to battery. - Manufacturer software: PowerChute and PowerPanel can send email alerts and log events.
- Grafana: NUT exports metrics that Prometheus can scrape. Monitor UPS load, battery health, input voltage, and runtime remaining alongside your other server metrics.
UPS Maintenance
UPS batteries degrade over time. Most lead-acid batteries last 3-5 years before they can no longer hold a useful charge.
- Test periodically: Unplug the UPS from the wall (while the server is running) and confirm the battery takes over smoothly. Check how long it lasts under load.
- Replace batteries on schedule: Most consumer UPS units use standard replacement batteries that cost $20-60 and are easy to swap without replacing the entire unit.
- Keep the UPS cool: Heat accelerates battery degradation. Do not place the UPS in a closed cabinet or next to heat-generating equipment.