Contents
"Our server has RAID, our data is safe." We hear this sentence often in the field. RAID is a genuinely valuable technology; but it is not a backup method. Not knowing the difference can, one day, after a deleted folder, ransomware or a flood, turn into the sentence "but we had RAID". In this article we explain what RAID does and does not protect against, and how to set up a practical backup routine for a business.
What does RAID do?
RAID uses several disks as a single logical unit to provide performance and/or fault tolerance. The common layouts are roughly as follows:
- RAID 1 (mirror): Data is written to two disks at the same time. If one of the disks fails, work continues on the other.
- RAID 5: Data and parity information are distributed across the disks; it survives the failure of one disk.
- RAID 6: With double parity, it survives the failure of two disks at the same time.
- RAID 10: Mirroring and striping combined; it aims for performance and fault tolerance together.
The main purpose of RAID is to let the system keep running without interruption when a disk fails. The failed disk is replaced, the array is rebuilt and work goes on.
What doesn't RAID protect against?
RAID instantly mirrors everything written to a disk onto the other disks. That means bad events are mirrored instantly too. RAID does not protect against:
- Accidental deletion or overwriting: A deleted file is deleted from all disks.
- Ransomware: Encrypted files end up encrypted on all disks.
- File and database corruption: Corrupt data is written to all disks as corrupt data.
- Controller or device failure: When the RAID controller or the NAS itself fails, the array may become inaccessible.
- Physical events: Fire, flood, theft or electrical damage affect all the disks in the same enclosure together.
- A second failure during a rebuild: While a disk is replaced and the array is rebuilt, the other disks are read intensively too; disks of similar age made in the same period may suffer a second failure.
In short, RAID provides continuity, while a backup provides a way back. One does not replace the other.
What is the 3-2-1 rule?
The 3-2-1 rule, widely used in backup, is a memorable and practical starting point:
- 3 copies: The data itself and at least two backups.
- 2 different media: The backups should not be of the same type or on the same device as the original data. For example, the server disk and a separate backup device.
- 1 copy in a different location: One of the backups should be kept outside the building where the original data is.
Some sources add two more points to this rule: at least one of the backups should be offline or immutable (a copy that ransomware cannot reach), and restore tests should show no errors. Especially today, with the growing risk of ransomware, a copy that cannot be reached from the network or cannot be deleted for a set period is an important safeguard.
What does it look like in practice?
A typical setup for a hotel or a small business might look like this:
- Original data: On a server or NAS, on disks protected by RAID.
- Local backup: Copies taken at regular intervals on a separate backup device, containing several earlier versions. This copy allows an accidentally deleted file to be brought back quickly.
- Remote backup: An encrypted, access-restricted copy kept in a location away from the building, for example in a data centre. This copy comes into play in large-scale incidents such as fire, theft or ransomware.
Which data is to be backed up should also be decided from the start: reservation and accounting databases, shared files, email archives, server configurations, log archives. For large volumes of data such as camera recordings, how long and by what method they will be kept should be planned separately.
Two questions: how much data, how much time?
There are two basic questions that shape a backup plan:
- How much data loss can you accept? If the backup is taken once a day, in the worst case one day's data may be lost. For some systems this is acceptable, for others it is not. This period determines how often backups are taken.
- How quickly must the system be running again? Can the reservation system be down for a few hours, or do minutes matter? This time determines where the backup is kept and the restore method.
The answers to these questions vary from business to business and directly affect the cost of the backup plan too.
An untested backup doesn't count as a backup
The most common problem in backup is believing a backup is being taken, only to find it cannot be restored when needed. The following must always be part of the backup job:
- Monitoring every day that backup jobs completed successfully, and receiving alerts for failed jobs
- Testing at set intervals by restoring sample files and the whole system
- Having the restore steps in writing, so that it is clear who does what during an incident
- Keeping track of the disk health and capacity of the backup devices
Power and hardware
Preventing data from being corrupted is as important as backup. Sudden power cuts and surges are risky for disks and file systems. Powering servers and NAS devices from a suitable UPS, and configuring the devices to shut down properly when an outage goes on, is a basic precaution. UPS batteries also need to be tested at set intervals.
Short checklist
- Does the team know that RAID is not a backup?
- Are there at least three copies of the data, on two different media, with one outside the building?
- Is there a copy that ransomware cannot reach?
- Is the result of the backup jobs checked every day?
- When was the last restore test carried out?
- Is it written down which data is kept, how often and for how long?
- Are the servers and NAS devices protected by a UPS?
If you would like to review your current backup routine together, you can send us your free site survey and quote request via our server support page. If a failure has already happened, see our data recovery page.