UPS support allows a UPS to tell UPS-powered devices (here an UmbrelOS server) to begin a clean shutdown: save as much as possible and start a normal shutdown before the battery dies. This is accomplished with a USB cable connecting the UPS and the UmbrelOS server.
Otherwise, in a power outage, after the UPS battery exhausts itself, the UPS-powered devices simply lose power without warning, aka a dirty shutdown: it opens the door to possible data corruption, broken VMs, hardware damage, etc.
Suggestion: UmbrelOS should natively integrate UPS support, like other NAS OSes (e.g., many use NUT - Network UPS Tool). Native is virtually a requirement (rather than a third-party app) because a clean shutdown requires OS-level actions including:
- Shutting down active VMs or machines.
- Saving the running state of any apps and close them.
- Pausing any in-progress backups to prevent half-copied files.
- Logging an event that the UPS triggered a shutdown (e.g., not a hardware defect).
Example from Synology’s DSM. Some of the info data is also useful, but not required.
This isn’t a groundbreaking feature or a deal-breaker, but I do worry about my files and VMs when there’s a power outage and despite having a UPS, my server has a dirty shutdown anyways (e.g., because I’m away / not at home, didn’t see the power outage alert fast enough, etc.).
