What this is about
A server runs every hour of the year, so small things add up. A few extra watts cost money every one of those hours, a fan that’s fine in an office can hum all night in a bedroom, and a power cut can switch the machine off halfway through saving a file.
This page covers three questions: what your server costs to run, how to keep it quiet, and what happens when the power goes. None of it needs special skills. The meter is a plug, quietness mostly comes down to choosing and placing the machine, and the battery backup, called a UPS (uninterruptible power supply), is a box you plug things into.
Work out the running cost first
Measure before you decide anything else. A home server spends most of its life idle, so what it draws while doing nothing matters most.
| Average draw | Energy over a year |
|---|---|
| 10 W | 87.6 kWh |
| 30 W | 262.8 kWh |
| 60 W | 525.6 kWh |
| 100 W | 876 kWh |
Multiply the right-hand figure by the price per kWh on your electricity bill. Each extra 10 W running all year adds 87.6 kWh.
The biggest savings come from the hardware, not settings. One mini PC doing the work of two old desktops, a graphics card taken out of a machine that doesn’t need it, or a spare hard drive unplugged will usually save more than any tweak. On Linux, PowerTOP in the list below finds smaller savings.
Keeping it quiet
Noise comes from fans and spinning hard drives. A laptop or mini PC doing light server work is close to silent, which is one reason they make good first servers. For a desktop, the ideas in the list below help most: SSDs where you can, slower fans, and a spot with airflow. After any change, check temperatures in the server’s dashboard or the BIOS after a few days of normal use.
Which battery backup to choose
| Type | What it does | For a home server |
|---|---|---|
| Standby (offline) | Switches to battery when the power fails | Works, and costs least |
| Line-interactive | Also evens out small dips and rises in voltage without using the battery | The usual choice |
| Online (double-conversion) | Runs everything through its battery circuit all the time | More than a home needs, and often louder |
How to size one:
- Read the watts rating. A UPS lists two numbers, VA and watts. Compare your meter reading with the watts figure.
- Leave headroom. APC, one of the biggest makers, advises keeping the load below 80 percent of the rating.
- Check the runtime chart. Makers publish how many minutes the battery lasts at each load. You need enough to ride through flickers and then shut down cleanly, not to run through a long cut.
- Plug in the right things. The server, any external drives, and your router and modem, so the house keeps its internet for a few minutes and alerts can still go out.
- Get a USB data port, so the server can tell when the battery is running low.
UPS batteries wear out. APC says most of its batteries last three to five years, and heat shortens that: every 8 °C warmer halves battery life. Keep it somewhere cool and expect to replace the battery.
How a power meter fits in
- Watts right now. Watch the reading jump when a film starts converting or a backup runs.
- Total kilowatt-hours. Leave it for a week of normal use, then work out the average.
- Fair comparisons. Measure each spare machine before choosing which one becomes the server.
- Sizing a UPS. The meter’s reading is the load figure you compare with a UPS’s watts rating.
- Proof a change worked. Read it before and after you remove a drive or change a BIOS setting.
- A cost display. Many meters let you enter your price per kWh and show the cost directly.
The easy way to set up a clean shutdown
The UPS keeps the power on. The server still needs to know when to shut itself down. Connect the UPS’s USB cable to the server, then:
- ZimaOS. Open Settings, then General, then Power loss protection (UPS). Turn it on, choose USB-UPS and pick your model. It shuts down when the battery drops below 15 percent, or after a time you set. No terminal at all.
- TrueNAS, Unraid and Synology. Each has a UPS page in its settings, filled in with a few clicks.
- Windows. A UPS connected by USB usually appears as a battery, like a laptop’s, and the normal power settings can shut the PC down when it runs low. The maker’s own app adds more options.
- Ubuntu or Proxmox. Network UPS Tools does the job, but you set it up from the terminal by following its documentation. PeaNUT, in the list below, then gives you a web page to watch it from.
Two more settings finish the job. In the server’s BIOS, set Restore on AC power loss (sometimes After power loss) to Power on, so it starts again when the power returns. Then test it on a quiet evening: press the UPS’s self-test button, or switch off its wall socket, and watch the server notice.
Questions people ask
How long will a UPS keep my server running?
It depends on the load and the battery size, and the maker’s runtime chart gives the figure for your load. Plan for a clean shutdown a few minutes in, rather than trying to last through a long cut.
Is a UPS worth it for a laptop server?
Less so, because the laptop’s own battery covers it. A small UPS still helps the router and any external drives, which lose power the instant it goes.
Does a surge protector do the same job?
No. A surge protector deals with spikes but does nothing when the power drops. Most UPSes include surge protection on their battery outlets, and as the Skip list below says, don’t chain the two together.
How do I find out what my server costs a year?
Leave a meter on it for a week, work out the average watts, find that row in the table above (or multiply watts by 8,760 and divide by 1,000), and multiply by your price per kWh.
Can I hide the server in a cupboard?
Yes, if air can get in and out. A closed cupboard traps heat, which makes fans louder and shortens the life of drives and UPS batteries. Leave a gap, and check temperatures after a week.