NAS / RAID / Backup Scheme

6

5

I want a failproof backup scheme for my home business. This is the scheme i have come up with so far:

  • Workstation:

    C:\ SSD Drive 1: for OS
    D:\ SSD Drive 2: for Current Projects
    
  • NAS

    L:\ HDD Drive 1: Libraries and components        
    I:\ HDD Drive 1: Incremental backups (Of Working projects)
    R:\ HDD Drive 1: Archive (archived projects, data etc + Incremental)
    
    X:\ HDD Drive 2: Copy of Libraries and components        
    Y:\ HDD Drive 2: Copy of Incremental backups         
    Z:\ HDD Drive 2: Copy of Archive 
    

So the second hard drive in the NAS is just a synced or RAIDED copy of the first drive. The whole idea is to have a THIRD NAS DRIVE, which is also a copy of the first NAS drive. This third drive is kept at a friends home. Every week, I'll take out the updated NAS drive, switch it with the old one my friend has, install the old one in the NAS, and update it again.

As far as I know, this will guard against every possible failure:

  • Disk failure / accidental overwrite: Use inceremntal backups
  • Theft / Fire : Use the Disk at friends home

Now my question :

I've never used a NAS or RAID. Is it even possible to switch the drives as described above ?? Also, should I manually sync the drive with special software, or use RAID to sync the 2 drives ?

EDIT: First of all, don't go NAS because its TOO SLOW (Network!?). Secondly, don't use RAID. http://www.smallnetbuilder.com/nas/nas-basics/30060-smart-sohos-dont-do-raid

Run CMD

Posted 2010-11-03T12:33:15.410

Reputation: 185

Answers

6

Normally, the way this is done is something like this:

1) RAID array with 1 or more redundant drives (so RAID 5 or 6) - allowing one or two drives to fail at once without data loss. Sometimes, this is done with RAID 10 which is effectively two arrays, you can lose more drives, but only if they're from different arrays. Given the rest of the scheme, 5 or 6 should be ok. It depends on the amount of data, costs, performance requirements, etc.

2) Offsite backup: Basically, take a full copy of the data and store it elsewhere.

Regarding theft, you need to allow for the data's security, so the offsite backup at least should use full disk encryption (if applicable).

Regarding your current setup (and the proposed one), do you need to allow for accidental deletes? You need to make sure removing a file won't automatically remove it from all your other copies. Same goes for file corruption.

If you use RAID 1 (i.e. mirroring), it should be possible to swap drives out and automatically sync the data, but personally, I wouldn't do this for the reasons above. What I'd do (and in fact do) is to use RAID 5 to aid in hardware failures, take a manual copy once a month which stays on site, and an encrypted copy once every 3 months which goes off site. If my data was super important, I'd likely go with RAID 10 rather than 5, but restore times aren't an issue for me.

Re: restore times. Having the entire array offsite on an encrypted drive is ok, but can you afford the downtime to restore it?

As for swapping drives, I use a case which holds the drives and has a slot in it which takes a SATA drive. Pop it in, do the backup, and hit the eject button. Done! SATA drives are handy like that as you can hot swap them.

Overall, I'd say your incremental backup approach, combined with RAID 5 and an offsite (maybe encrypted) would be good enough. But practice RAID skills on a virtual machine or similar, as if you need it, you may really need it.

Sirex

Posted 2010-11-03T12:33:15.410

Reputation: 10 321

Great answer. I'd avoid RAID 5 though if they are large disks with lots of TBs of data. – Datarecovery.com MK – 2015-07-01T21:55:53.090

yeah this answer hasn't aged well ! In this day and age, i'd definitely recommend RAID 10. – Sirex – 2015-07-02T02:15:57.150

1+10 for the offsite if I could – Cry Havok – 2010-11-03T13:01:32.547

What's the advantage of the RAID5 array ? – Run CMD – 2010-11-03T14:18:21.970

raid 5 (and 5 specifically) splits the data over several physcial drives. It does so in such a way that there is an excess of data stored, and that all parts of the data are avaliable on two drives. This means if a drive fails, you lose no data and can recover and continue working. One thing to allow for though is that rebuilding puts strain on disks, so may cause other drives to fail - and you lose 1 drive's worth of space (3 1TB drives gives 2TB usable space). This raid functionality is called striping – Sirex – 2010-11-03T15:17:46.913

And with raid 5 (which uses one parity disk, you can lose only one drive before data is lost. raid 6 uses two partiy drives, so you can lose 2 drives at the same time and be ok, but you lose 2 drive's of space, similar raid 5. – Sirex – 2010-11-03T15:19:27.337

3

Some potential failure modes:

  • Swapping disks causes a disk failure.
  • Swapping an old mirror disk back in causes the mirror to update with the older member (losing all current data)
  • Backups succeed without apparent error for weeks, after which time you find that you replaced a critical file with a cute picture of a squirrel by accident.
  • One of the drives dies due to travel.

Slartibartfast

Posted 2010-11-03T12:33:15.410

Reputation: 6 899

+100 for nr 2 .. Did that ever happen to you? – Run CMD – 2010-11-03T22:56:29.590

Nope. Too paranoid about #1 / #2 to have tried it. Maybe the drive states are versioned and it couldn't happen. Maybe. – Slartibartfast – 2010-11-05T03:10:03.913

1

Or, alternatively something similar to the ioSafe SoloPRO may fit your needs, although this particular product does not have RAID or NAS capabilities.

Xantec

Posted 2010-11-03T12:33:15.410

Reputation: 2 303

Thanks for the reference. This doesn't seem 100% failproof though ... what if a burglar steals your fireproof box?? – Run CMD – 2010-11-03T14:09:09.347

1

that is where the Kensington lock comes into play. The idea is make it too difficult for a "casual" burglar to take it. Anyone more determined will get what they came for regardless of what measures you take (off-site backups included). http://us.kensington.com/

– Xantec – 2010-11-03T14:19:56.147

OK, but if I'm a burglar and i see something with a lock on it, I expect it to contain something valuable, even if i don't know what it is ... And if I'm a tiger kidnapper or whatever :-) I will want you to open the lock. The chance of a burglary in 2 different homes at the same time seems almost non-existent to me ... – Run CMD – 2010-11-03T14:30:16.607

A random burglar carrying a set of bolt cutters with them, on the off chance that they'll find something chained up that they want, seems equally unlikely to me. Chances are if they come with cutting hardware they've picked you out for a reason, which if that reason is your data then they'll probably know about your off site backup; fwiw. – Xantec – 2010-11-03T15:02:50.883

Maybe you need to allow for how they break in in the first place ? Locked back gate ? -- They'll have bolt cutters with them. Its fairly common in household burgularies, more or less. – Sirex – 2010-11-03T15:21:12.343

.. And alot of people go for shed pad locks etc to steal garden tools. Wont normally break into the house, but bolt cutters are a standard tool to a criminal. – Sirex – 2010-11-03T15:23:40.770

I stand corrected. Clearly I have not done much burglarizing in my time. – Xantec – 2010-11-03T15:29:23.137

For me the main problem with the lock is not the bolt cutters, its a burglar entering with a gun, forcing you to give them the keys to your stuff .. – Run CMD – 2010-11-03T22:53:29.267

Your worry is someone holding you at [insert weapon here] point and forcing you to hand it to them? pardon me from saying so, but it sounds like you would be better off moving rather than worrying about a fool proof way to secure your data. – Xantec – 2010-11-03T23:45:23.157

Hahaha yeah Im not living in the Bronx or South Africa or something... :-) ... Just thinking of worst case scenarios ... Thanks for all the help btw ... – Run CMD – 2010-11-04T11:57:44.123

1

With the ubiquity of relatively inexpensive services like Jungle Disk or Drop Box, why not consider adding them to your backup strategy? They're clearly offsite and probably more reliably available than your friend(s). (What happens if no one is home at your friend's and you need access to a file?) Jungle Disk and Drop Box can also be accessed from any where.

Mike Chess

Posted 2010-11-03T12:33:15.410

Reputation: 5 583

Thanks, this was our first idea too. But since sometimes we deal with large files (+1GB), and the speed of such an online service is defined by your internet connection UPLOAD speed, this doesn't seem a good idea performance-wise ... – Run CMD – 2010-11-03T14:11:32.307

I haven't checked, but I would think a service like Jungle Disk would offer incremental backups. Jungle Disk does charge by the amount of data transferred, so transferring incremental changes would make sense to keep your bill low. Of course, if you are constantly creating new +1GB files then incremental backups don't benefit you. – Mike Chess – 2010-11-03T19:49:43.373