Sub topic 17
Why RAID Is Not a Backup
This chapter assumes you already know how RAID 1, RAID 5, RAID 6, and RAID 10 work, and that you can calculate usable capacity. Here you will learn what RAID protects against, what it does not, and how to explain the difference on the exam and on the job.
Two different goals: availability and recovery
RAID and backups solve different problems.
- Availability means the system keeps running when something fails. RAID provides this. If one drive in a RAID 1 or RAID 5 array dies, the volume stays online and users keep working.
- Recoverability means you can get your data back after it is lost, damaged, or changed. Backups provide this. A backup is a separate copy of data, stored somewhere that a failure of the original cannot reach.
RAID protects against one specific event: the physical failure of a drive, within the limits of the RAID level. Backups protect against almost everything else.
What RAID does not protect against
RAID writes every change to all the drives that need it. That is useful when a drive dies, but it also means that bad changes are copied just as faithfully as good ones.
| Threat | Does RAID help? | Why |
|---|---|---|
| Single drive failure (RAID 1, 5, 6, 10) | Yes | Redundancy keeps the volume online |
| Accidental deletion | No | The delete is applied to every copy |
| File corruption by software or a bad save | No | The corrupted data is written to all drives |
| Ransomware | No | Encrypted files are mirrored or striped like any other write |
| Malware or a malicious user | No | The array treats all writes as valid |
| Controller failure | Not reliably | The array may become unreadable |
| Fire, flood, or theft | No | All drives are in the same place |
| Power surge | No | All drives share the same power supply |
| More failures than the level tolerates | No | Data is lost |
The pattern is simple. RAID guards against hardware failure of a drive. It does nothing about logical errors (mistakes and malicious changes) or site-wide events.
Failure modes that defeat redundancy
Even for the threat RAID is built for, there are ways it can fail.
A second failure during a rebuild
When a drive fails in a RAID 5 array, the array runs in a degraded state. It can still serve data, but every read of the missing drive's data requires reading all the other drives and calculating the answer from parity. Performance drops, and there is no redundancy left.
You then replace the drive, and the controller rebuilds it by reading every surviving drive from start to finish. This is heavy, sustained work. If a second drive fails before the rebuild ends, a RAID 5 array loses all of its data. RAID 6 survives two failures, and RAID 10 survives a second failure as long as it is not in the same mirrored pair.
Drives in one array are often the same model, bought together, and used for the same length of time. That makes it more likely that they wear out at about the same time. Large drives make rebuilds longer, which widens the window of risk.
Unrecoverable read errors
A drive can have a bad sector that you do not notice until the rebuild reads it. If the array has no redundancy left at that moment, the controller cannot recreate that data. The rebuild may fail or leave damaged files.
Controller and metadata failure
A hardware RAID controller stores the array configuration. If the controller fails and no compatible replacement is available, the drives may be unreadable even though every drive is healthy. Software RAID depends on the operating system and its metadata in the same way.
The write hole and power loss
If power fails in the middle of a write to a parity array, the data and parity on disk can disagree. Controllers with a battery-backed or flash-backed write cache reduce this risk. A UPS (uninterruptible power supply) also helps. Neither one replaces a backup.
What makes something a real backup
A backup has three qualities that a RAID array lacks.
- It is a separate copy. The copy must not be affected by the same failure as the original. A second partition on the same drive is not a backup.
- It keeps history. Good backups hold earlier versions, so you can go back to the state before a deletion or an infection.
- It can be restored, and you have tested that. An untested backup is a guess.
Many organizations follow the 3-2-1 rule:
- Keep 3 copies of the data (the original plus two backups).
- Use 2 different types of media or storage.
- Keep 1 copy offsite or offline.
The offline or offsite copy matters most against ransomware and disasters, because malware cannot reach a disconnected copy and a fire at the office does not reach a copy in another building.
Backup types you should recognize
The A+ exam and real jobs both expect you to know the common types.
| Type | What it copies | Backup speed | Restore needs |
|---|---|---|---|
| Full | Everything selected | Slowest | The one full backup |
| Incremental | Changes since the last backup of any type | Fastest | Last full plus every incremental since |
| Differential | Changes since the last full backup | Medium | Last full plus the latest differential |
A common pattern is a weekly full backup with daily incrementals or differentials. Differentials take more space over the week but need fewer pieces to restore.
RAID and backup working together
RAID and backups are not competing choices. A well-run server uses both.
- RAID keeps the server running through a drive failure, so a failed drive causes no downtime.
- Backups cover deletion, corruption, ransomware, controller failure, and disaster.
A short example shows the difference. A file server uses RAID 10. A user deletes a folder of project files. RAID 10 has two copies of that folder on two mirrored drives, but the delete was applied to both. Without a backup, the folder is gone. With a nightly backup, the technician restores it from last night's copy.
Snapshots, replication, and sync are not enough either
- Snapshots record the state of a volume at a point in time. They are useful for fast rollbacks, but they usually live on the same storage. If the array is lost, so are the snapshots.
- Replication copies data to a second system continuously. It protects against hardware loss, but a deletion or encryption is replicated too.
- Cloud sync services such as a synced folder mirror changes between devices. Without version history, a bad change spreads to every device.
These tools help, but a true backup needs separate storage and version history.
Troubleshooting scenarios
| Symptom | Likely meaning | Correct action |
|---|---|---|
| Array shows "degraded" | One drive has failed, and redundancy is gone or reduced | Replace the failed drive right away and confirm a current backup exists before rebuilding |
| Users report files missing, array is healthy | Deletion, not hardware failure | Restore from backup |
| Files will not open and have strange extensions | Likely ransomware | Disconnect the system from the network, then restore from a clean offline backup |
| Array not detected after a controller swap | Configuration metadata not recognized | Use a compatible controller and import the foreign configuration, or restore from backup |
| Second drive fails during rebuild on RAID 5 | Array exceeded its tolerance | Rebuild the volume and restore from backup |
Note the first row. Before you start a rebuild on a degraded array, make sure a backup is current. Rebuilds stress the surviving drives, and a failed rebuild can destroy the data.
Exam checklist
- RAID provides fault tolerance for drive failure. It does not provide recoverability.
- RAID 0 has no fault tolerance at all, so it needs backups even more.
- RAID 1, 5, 6, and 10 tolerate drive failures but not deletion, corruption, malware, or disasters.
- A degraded array is running without full protection. Replace the drive and verify backups.
- Follow the 3-2-1 rule, and test restores.
Exercise
A small office stores its accounting files on a RAID 5 array of four drives. An employee accidentally deletes a folder of invoices on Monday and notices on Wednesday. The array reports no errors. Can RAID recover the invoices? What should the office have in place, and what backup type would let them restore Monday's data efficiently?
Show answer
No. RAID applied the deletion to every drive, so the array shows no errors and has no earlier copy of the folder. The office needs a backup that keeps history, ideally following the 3-2-1 rule with one copy offline or offsite. A weekly full backup plus daily incremental or differential backups would let them restore the folder as it was before Monday's deletion, using the last full backup and the needed daily backups.
Exercise
A RAID 5 array with four 4 TB drives is degraded after one drive failed. A technician installs a replacement and starts the rebuild. Halfway through, a second drive fails. What is the result, and what should the technician have done before starting the rebuild?
Show answer
RAID 5 tolerates only one drive failure, so the second failure destroys the array and its data. Before starting the rebuild, the technician should have confirmed that a current, tested backup existed, because rebuilds put heavy load on the surviving drives. The data now has to be restored from backup onto a new array. Using RAID 6 would have allowed the array to survive both failures.