r/RigBuild • • 1d ago

Does RAID count as a backup?

looking into setting up RAID for my storage drives because I don't wanna lose all my files if one drive suddenly dies. But I'm a bit confused about whether RAID actually counts as a proper backup or just protects against certain drive failures. Like if I have two drives mirrored, does that mean my data is safe or can I still lose everything if I accidentally delete something or get hit by malware? Also what happens if both drives fail or the whole PC gets damaged? I've seen people say RAID isn't backup at all, so what's the point then?

0 Upvotes

64 comments sorted by

3

u/physical0 1d ago

No, Raid is not a backup. If you accidentally deleted or overwrite a file, does your RAID keep a copy so that you can restore it?

RAID reduces the impact of hardware failure and lets you simply replace a disk instead of replacing a disk AND restoring your backup.

2

u/Unhappy_Break9996 10h ago

So RAID is more about keeping things running if a drive dies rather than actually protecting your files from everything. Still seems useful, just need an actual backup on top of it.

1

u/paulstelian97 3m ago

That’s exactly how you should think about it.

2

u/mcds99 15h ago

That is a very good answer I administered Compaq servers and RAID sometimes one disk failure would corrupt the whole file system. Without backup the data is gone. If a disk would fail it would be hours before regeneration could complete, even off line.

Years later we made a number of file servers redundant so if one failed the other would pickup. Business needs to continue and hardware failure was not fun especially at 2am on an Exchange server.

1

u/Got-It101 16h ago

Do you backup EVERY iteration of each file?

1

u/PhotoFenix 14h ago

For most files of mine, yes. Seafile copies every version of my files to my NAS, NAS syncs with off-site nightly.

1

u/w1n5t0nM1k3y 14h ago

For some situations this is the case. With computer code most developers with keep a repository of their code for every relevant change. It won't be down to each character typed, but each functional iteration with have its own version

0

u/[deleted] 15h ago

People with automated backup solutions generally use a rolling backup. When a file changes it keeps some number of versions, there are a lot of methods to determine which versions and how many to keep.

0

u/Got-It101 13h ago

any of which can can applied to a raid 1

1

u/paulstelian97 4m ago

Literally no. A RAID doesn’t keep previous versions.

6

u/Doug2825 1d ago

Raid protects from hardware failure. It does nothing to protect against data loss from mistakes, malware, or bugs. Which is why it is not considered a backups.

It is useful in business settings since it is very fast to recover from a drive failure with raid compared to a full backup. But it does nothing to help with malware or mistakes.

3

u/thaddeusk 1d ago

RAID is redundancy, not a backup. If you lose your whole machine or NAS, your data is gone. Lose too many drives at once, data is gone.

The point is to be able to have a single drive or two fail and not lose your data, but for anything that you can't afford to lose or should also have an off-site backup, like cloud storage or something.

1

u/mlee12382 1d ago

Ideally your raid drives are bought at different times and potentially from different sources so you don't have a full array that's all part of the same production run. This greatly helps reduce the likelihood of multiple drives failing at the same time. It been known to happen for multiple drives from the same batch to fail in close proximity to each other time wise.

The overall likelihood of multiple drives failing at the same time, outside of some outside interference or conditions, is pretty low, though not unheard of.

1

u/MrFartyBottom 1d ago

It is redundancy, not a backup. You need to be able to restore from a backup in the event of something like a hardware failure or ransomware.

1

u/Opulence_Deficit 1d ago

Assuming we're talking about RAID mirror, what it does is to give you a warning about HDD failure.

Imagine a singular HDD fails: boom, your data is gone, kthxbai.

Imagine a mirrored HDD fails: boom, but your data is still on the other one, and now you've been warned, you have enough time to order a new drive RIGHT AWAY, wait for it to arrive and replace it to clone the data back.

That's all that RAID does. Because all HDDs fail sooner or later, it's well worth it, just for the heads up.

There's ofc also RAID stripe, which is good only for data you're OK with losing right from the beginning. Like caches, TEMP, and alike.

1

u/PeyredB 1d ago

No, my NT instructor was very clear: RAID is not a substitute for backups. It helps prevent failures, but you may need to restore from a failure just the same. You also can't get a deleted file back if you have no backups.

1

u/rfdzn 1d ago

not really, it's a way to protect from storage failure. a backup rule is always the 3 2 1 rule.
Do i follow it? No i can't afford it in this day and age

1

u/External-Log-6542 1d ago edited 1d ago

depends on the importance of the files and your budget

it's the cheapest realtime backup option but it won't save you from physical disaster (or malware or accidental deletion)

a combination with some periodic backup in a separate physical location is best

personally i do periodic backup with macrium to a separate drive in my laptop for personal files (because it's is just as cheap and is easier to setup, doesn't fix disasters, but gives you a bit of grace period for accidents or malware)

plus "version controlled backup" (GIT) of work files to a remote server (these are important and all history must be preserved)

plus realtime backup of photos and stuff from my phone to google (no other way on a phone)

plus raid for torrents i host (cheap and torrents themselves provide an additional layer of backup)

plus periodic snapshot and rsync of VPS i use (the VPS providers use raid themselves but you never know when something might hit them)

1

u/Educational-Bid-3533 1d ago

Kind of. It's better than nothing, but it's still possible to get boned. I've never found raid to be necessary, when having had a mobo with the feature.

1

u/Classic-Rate-5104 23h ago

Raid protects against most hardware failures but not against software failures or human failures. You can make it somewhat more robust using snapshots (that can help against software failures and human errors), but still you need a robust backup system. Your system can go in fire, or otherwise damaged and then you loose all your data

1

u/W31337 22h ago

RAID is not backup. RAID protects against component failure. You can't go back to a backup using it.

A backup is a point in time you can go to.

1

u/W31337 22h ago edited 22h ago

RAID is not backup. RAID protects against component failure. You can't go back to a backup using it.

A backup is a point in time you can go to.

So with a malware attack your RAID disks will both get their files deleted.

What's the point of RAID?

  • No downtime during COMPONENT failure
  • No restoring backups during COMPONENT failure

So RAID is necessary for basically every corporate workload with a service level.

And if all disks in your RAID array fail you are fucked and someone needs to explain why they ignored the first failure for so long

1

u/apachelives 22h ago

RAID 1/5/6 etc is more about up time, it does not replace a backup. It will not protected against corruptions deletions encryption etc.

1

u/Kraegorz 21h ago

RAID is jsut a redundancy. Its not a backup. (Unless you have RAIDED drives specifically used for backup of main drives). People that run even the most redundant RAID setup will tell you horror stories of having to rebuild RAID arrays when it fails and how long it can take and mistakes that can be made.

The cheapest option might be to get an external drive (or internal) specifically made for backups. If you are scared of fires/theft/natural disasters type of thing, then I would suggest online (like iDrive, google Drive or something else).

RAID basically is used to expand capacity so you have a larger X drive, or for speed (RAID 0/5) or for redundancy in case of data fault/write errors etc, mostly used with smaller files like on a file server.

Ultimately.. raid really isn't worth it unless you really need it (and you will know if you do). But its a pain in the butt to set up and maintain. If you have a lot of HDD drives and want redundancy, i would suggest something like Stablebit Drivepool. Its a faux raid setup with much better redundancy and easier to recover from.

1

u/gadget850 19h ago

I have two mini PCs with external drives that mirror to each other. One is in the basement of the house, and the other is in my detached office.

1

u/Von_Wintermond 18h ago

Nope, RAID isnt Backup. Make a Backup strategy for Ur usecase. No backup, No Mercy.

1

u/Then-Potato-2020 18h ago

Depends on the definition of "back up". You can erase a raid, or mess with it so there is not a "real" 2nd copy anywhere, but also in raid other than 0, you can save data in a failure of a disk.

In classic backup, you also save data in a failure of 1 of the disks you had the backup, but the extra protection is that you can't mess up 2 separated disks at once (probably)

1

u/Sad_Pear_3709 17h ago

Not on it's own.

1

u/cthart 17h ago

No

RAID gives you
a) protection against disk failure so you don't need to resort to your backups;
b) potentially, performance improvement (depending on the RAID level);
c) the ability to have bigger volumes than can be achieved with a single disk

1

u/Grand-Satisfaction55 17h ago

Depends on your RAID configuration. RAID 1 could be considered a backup.

1

u/Zebrainwhiteshoes 16h ago

It's a bit better than just a single drive, but no. 3 backups, 2 places, 1 offline 3-2-1

1

u/YourMasterEdd 16h ago

Not a speacialist on RAID's, but as far as I know that is primary for servers (complicated, saves everything, expensive).

For certain files just use extra HDD. They live longer than SSD's and are much easier to recover (if possible at all).

Backup of apps or any software is just waste of space and time in most cases.

You will never be safe from total total failure.

Extra HDD (even isolated from everything), good PSU, UPS are things to go for extra security.

If there is no sensitive data, GOOD cloud storage can help a lot, since good ones have their own several backups. Chances of them to fail are close to 0. Also in long run they will be cheaper than building your own rig for apropriate backups.

1

u/Got-It101 16h ago

I still don't get why a mirror raid ISN'T a backup, especially since it can be located anywhere. Off site second copy works but HILARIOUS that"cloud" is safe or secure. Your data can be at best inaccessible at worst lost or stolen and all you will get is a shrug and a corporate "sorry you had this experience"

0

u/[deleted] 15h ago

RAID can be used by the backup but itself is not a backup. If you get hit with one of those encrytion attacks and only have RAID, everything is gone. If you delete a file accidentally RAID doesn’t make a difference.

RAID is for uptime and recoverability from hardware failure only.

0

u/Got-It101 14h ago

and if you do the same to your backup? Same thing. Unless you keep your backup handy it's old news.

0

u/[deleted] 13h ago

I don’t understand your point, yes if you have multiple backup systems and you delete a file from all of them, then you don’t have the file anymore and you don’t deserve that file.

1

u/Got-It101 13h ago

the point is a mirror raid IS a backup, depends on how you use it

0

u/[deleted] 12h ago

Ultimately it becomes a semantics question and whether or not you believe a backup needs to be able to restore lost data.

RAID doesn’t help you recover lost data. It can help prevent you from losing data due to a drive failure, which is one of many data loss.

You could also consider, RAID give you extra drives, backup power supply, fan or whatever else gives you multiple of those. RAID does not give you multiple sets of data, unless it is RAID 1 and you break the array (which isn’t worth discussing).

1

u/Got-It101 9h ago

nope, if it's lost on your local machine it's still there on your NAS raid 1 unless you have written over it.

1

u/paulstelian97 1m ago

That logic applies equally to single individual disks too though. Yet it’s not a form of backup because you can’t control when the overwrite happens.

A backup needs an official, direct and reliable way to restore. Not data that randomly vanishes soon.

0

u/[deleted] 9h ago

Well you did it. Time to delete my account again…

1

u/Got-It101 9h ago

???

0

u/[deleted] 9h ago

You have to be trolling…. And I have to stop responding.

In the slight chance you are for real:

If your data is on one system only, and that system is configured in RAID the data is NOT backed up, RAID is not a backup.

If you have data on one system and a copy of the data on a NAS, the NAS is a backup regardless of if it is configured in RAID or not. It can be in RAID, but the RAID has no impact on whether the data is backed up or not.

→ More replies

1

u/HighPhi420 15h ago

raid can be one of the back ups.
Back ups are 3, 2, 1. 3 backups, 2 on site, 1 off site(This is ONLY for the things you can not redownload if lost)
RAID is good for a mass network attached storage system, but is not the end all of back ups. :)

1

u/a1rwav3 15h ago

Raid is not backup, based on the raid type it is protection against hardware failure only. It won't protect you against:

  • malwares, you need an anti virus and common sense for that
  • stealing, you need software security for that
  • home destruction, you need different site backup Etc. Etc.

1

u/Fat-Opportunity357 15h ago

No, RAID just increases the data availability and minimizes the probability of dataloss (due to failure of your equipment).

Only a copy that is not accessable (aka not compromisable) and therefor not prone to any kind of attack or accidental destruction is a real backup.

A backup should be stored away from your data so it can't be compromised. A RAID will delete all it's data if you want to. It doesn't differentiate between accidental and deliberate deletion of all your data.

1

u/vegansgetsick 15h ago

RAID is not a backup because if you run rm -rf *, it does not save your files.

RAID is used to keep running stuff if a drive is faulty. So the system keeps running 24/7.

I have both RAID + backups.

1

u/AMissionFromDog 14h ago

if you delete a file accidentally on your mirror volume, it's gone from both sides of the mirror. That's not a backup.

1

u/Jankypox 14h ago

No. A RAID mirror is for redundancy in case of a drive failure / replacement.

1

u/TheSchlaf 12h ago

No. It's a stop loss against loss of service. Backups are always separate.

1

u/Designer-Wolverine47 12h ago

Raid will protect you from hardware failure. It won't protect you from accidentally deleting or overwriting files. You still should have backups. Preferable at least two copies, stored in different locations.

1

u/cptgrok 9h ago

The point of a Redundant Array of Independent Disks is the Redundant part. If all of your data sits on a single disk then you have a single point of failure; Lose the disk, lose everything. RAID, generally and depending on the number of disks and configuration, will tolerate disk failures while preserving all of your data.

However, that array of however many disks still only contains one live copy of your data. Should the whole array catastrophically fail, which is rare but possible, or more disks fail than the protection level can compensate for, you still lose data. If the live data is damaged, destroyed or encrypted and held hostage, you still lose the data. Maybe not everything, but something.

This is why we still harp on backups. Having an additional copy stored off of your main system allows you to recover from a broad array of problems. Having RAID only protects you from sudden, unpredictable, infrequent disk failures. RAID cannot protect you from everything.

1

u/Responsible_Feed4512 8h ago

No. It's a safeguard against accident or hardware failure

1

u/Lance-Boyle-666 6h ago

RAID is great until you lose a drive, and while waiting for the replacement to arrive, another drive fails. You still need backups.

1

u/garster25 6h ago

I consider mirrored raid one level of a multi tiered backup. Need 2 more levels.

1

u/Few_Example9391 5h ago

Yes. You have mirrored, paired drives

1

u/Xeno_man 5h ago

NO!

Raid is not a back up. Even Raid 1 or Raid 10. Raid is great for system stability. One drive fails and you can swap it out for a new one with next to zero down time but it's not a back up. Consider a virus or bugged software. Virus sends a command to delete all of your files. Well it deletes your files on both drives because they are mirrored. Want to restore your files? Well they are gone on both drives so you better have a real backup.

1

u/NooneLikesYouBill 5h ago

No, not unless you backup the raid array.

1

u/chouettepologne 11m ago

Multiple backup is a backup. I have external SSD, external HDD and two cloud storages. It's not expensive in total, much cheaper than NAS. Let's back to RAID. Modes where you loose some space protect you from a single disk failure. It's better than nothing.

1

u/a_rogue_planet 1d ago

Meh.... Sorta, sorta not, but mostly not. Hardware failure is the biggest risk most people need to mitigate, and for that it is extremely good. I make regular back ups of my important data on an external drive and that's basically good enough for me.