---
title: UPS and Surge Protection for a NAS or Server: a Practical Setup for Swiss Offices
url: https://recdati.ch/en/guides/ups-and-surge-protection-for-nas-in-switzerland/
description: Thunderstorms, Föhn, short cuts and the electricity shortage plans of the Confederation: how to size and configure a UPS for a NAS or small server, protect against surges, and what to do when a device does not come back after an outage.
language: en
---

NAS and RAID

# UPS and surge protection for a NAS or small server

Switzerland has one of the most reliable electricity networks in Europe, yet many of the NAS and server failures we see start with a power event: a summer thunderstorm, a short cut during network works, a surge when the power returns. A correctly configured UPS costs less than one recovery, but only if it actually shuts the equipment down cleanly.

Published 24 November 20263 min readBy [Mirush Murataj](https://recdati.ch/en/about-us/#author)

A UPS without a shutdown signal only delays the hard stop.

In short

- A UPS without a shutdown signal only delays the hard stop.
- Size the UPS for the clean shutdown time, not for working through the outage.
- After an outage, a device that does not come back should not be restarted again and again.

## What an abrupt stop does

- **File systems** lose what was still in the write cache, and their metadata can be left half-written.
- **RAID arrays** interrupted in the middle of a write may restart with parity that no longer matches the data, or with one disk flagged as faulty.
- **SSDs** can lose the map that links data to memory chips, see [SSD died suddenly: why it happens and what now](https://recdati.ch/en/guides/ssd-died-suddenly-why-and-what-now/).
- **Hard drives** park their heads in an emergency, which wears them over time.

The surge when the power comes back is a separate risk: it often destroys the controller board of a drive or the mainboard of a NAS. The platters are usually intact.

## Choosing a UPS

- **Line-interactive** units are enough for most NAS units and small servers. For sensitive servers or unstable supplies, an **online (double conversion)** unit is preferable.
- **Size for the shutdown**, not for the outage: the UPS must power the NAS, the switch and the router for the five to ten minutes needed for a clean shutdown, with a margin for an ageing battery.
- **A communication port** (USB or network card) is essential: without it, the NAS does not know it is running on battery.

## Configuring the shutdown

1. Connect the UPS to the NAS by USB, or install a network card in the UPS.
2. In the NAS settings, enable UPS support and set a **shutdown after a few minutes on battery**, not "when the battery is low".
3. If several devices share the UPS, set the NAS as network UPS server so that the others shut down too. Servers can use NUT or the manufacturer's software.
4. Test it once: unplug the UPS from the wall during a quiet moment and check that everything shuts down properly.
5. Replace the UPS battery every three to five years.

## Surges and lightning

Ticino and the southern valleys have some of the highest lightning density in the country, but summer storms hit the whole of Switzerland from May to September. A strike nearby can come in through the mains, the network cable or the telephone line. Use surge protection on power and, for exposed buildings, on network and coaxial lines too. Replace a surge protector after a major event: its components wear out.

## Heat

Heatwaves cause their share of failures. A NAS in a closed cupboard or a small technical room without ventilation can run far above the temperature its disks are rated for. Check the disk temperatures in the NAS interface during the summer.

## Electricity shortage plans

For a possible electricity shortage, the Confederation and the electricity sector organisation OSTRAL have prepared measures that can go as far as planned cuts. If your company has a continuity plan, include storage: which NAS and servers are shut down first, in what order, and where an offline backup is kept.

## After an outage

- A device that stays dark after the power returns should be left off. **Repeated power cycling** stresses a damaged board or firmware further.
- A burning smell from an adapter: unplug everything.
- A NAS that reports a degraded or crashed volume: read [Synology DSM warnings: from a disk warning to a crashed volume](https://recdati.ch/en/guides/synology-dsm-warnings-explained/) or [QNAP: volume unmounted or storage pool inactive](https://recdati.ch/en/guides/qnap-volume-unmounted-after-update-or-power-cut/) before clicking anything.

See [NAS data recovery](https://recdati.ch/en/data-recovery/nas/) and [server data recovery](https://recdati.ch/en/data-recovery/server/).

## Frequently asked questions

Is a UPS enough to protect my NAS?

Only if the NAS is told to shut down cleanly when the UPS switches to battery. Without that signal, it simply stops a few minutes later.

My external drive died after a storm. Can the data be recovered?

Usually, yes. In most cases the surge has hit the electronics on the drive, while the platters are fine. Do not swap the board yourself: its ROM has to be transferred.

## Official sources and useful links

- [Federal Electricity Commission (ElCom)](https://www.elcom.admin.ch/): The independent regulator of the Swiss electricity sector: security of supply and network operators.
- [OSTRAL](https://www.ostral.ch/): The organisation of the Swiss electricity sector that prepares measures for electricity shortages.
- [MeteoSwiss](https://www.meteoswiss.admin.ch/): The federal weather service: thunderstorm warnings and lightning maps.

Share this guide

- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Frecdati.ch%2Fen%2Fguides%2Fups-and-surge-protection-for-nas-in-switzerland%2F)
- [Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Frecdati.ch%2Fen%2Fguides%2Fups-and-surge-protection-for-nas-in-switzerland%2F)
- [WhatsApp](https://wa.me/?text=https%3A%2F%2Frecdati.ch%2Fen%2Fguides%2Fups-and-surge-protection-for-nas-in-switzerland%2F)
- [Email](mailto:?body=https%3A%2F%2Frecdati.ch%2Fen%2Fguides%2Fups-and-surge-protection-for-nas-in-switzerland%2F)
-

Cite this article

Murataj, Mirush. "UPS and surge protection for a NAS or small server". RecDati, 24 November 2026. https://recdati.ch/en/guides/ups-and-surge-protection-for-nas-in-switzerland/

Is your data important?

Do not try anything that could make the fault worse. The diagnosis is free and you get a fixed quote before any work starts.

[Request a free diagnosis](https://recdati.ch/en/free-diagnosis/) [NAS data recovery](https://recdati.ch/en/data-recovery/nas/)

Need a diagnosis?

Free, no obligation, reply within 2 hours.

[Free diagnosis](https://recdati.ch/en/free-diagnosis/)

## Read next

- [Pulled the wrong disk from a RAID: the first 10 minutesIt happens in server rooms and small offices alike: a RAID 5 is degraded, someone goes to replace the failed…](https://recdati.ch/en/guides/pulled-wrong-disk-from-raid/)
- [NAS SSD cache failure: why the volume crashesAn SSD cache makes a NAS faster, but a read-write cache also holds data that has not yet reached the hard…](https://recdati.ch/en/guides/nas-ssd-cache-failure-volume-crashed/)
- [RAID expansion or migration interrupted halfwayAdding a disk to a RAID, or changing a RAID 5 into a RAID 6, means rewriting the whole array in a new layout.…](https://recdati.ch/en/guides/raid-expansion-or-migration-interrupted/)
- [Ransomware on a NAS: what is different, what can be savedRansomware that targets a NAS does not arrive through an email attachment. It comes through the NAS itself,…](https://recdati.ch/en/guides/nas-ransomware-deadbolt-qlocker-snapshots/)
- [ZFS pool will not import: reading the messages and rewinding safelyZFS is built never to overwrite live data, so a pool that will not import has almost always kept an older,…](https://recdati.ch/en/guides/zfs-pool-will-not-import/)
- [Data loss on a server: when the FADP requires a notificationMost people associate a data breach with stolen data. The revised Swiss Federal Act on Data Protection…](https://recdati.ch/en/guides/server-data-loss-fadp-breach-notification/)

Device not responding any more? Unplug it and let us take a look.

[Free diagnosis](https://recdati.ch/en/free-diagnosis/)
