Is a home NAS reliable to keep your data on (no other backups)

backuphard drivenasraidredundancy

The question came up while I was thinking to move some data (e.g.) pictures, old but important other data solely to the NAS (private use, no business level).

My NAS is a simple 2 disk RAID system. I know that a RAID is not a backup system as it only provides hardware redundancy so I planned to create incremental (versioned) backups of the data directories.
The backup destination would be the same NAS so that the only instance of the data (no copies on notebook or desktop machines) and the versioned backups would stay entirely on those two disks.

Now I wondered how reliable this procedure is. I've read that a power blackout has typically no effect on the data on a disk, as the heads retract to a safe position and do not "hit" or "scratch" the disks, but it can of course corrupt data currently written and even worse affect the electronics of a drive rendering it unusable.

Now I am pretty unsure whether I should invest in a small UPS that plays well with the NAS to ensure proper shutdown or resort to multiple backup locations (or both?)

Does having only one instance of data + backup on same machine still regarded unsafe?

(I am ignoring theft here. Also surges, as all connected cables LAN, Power etc. are protected. Even more: I do not want to use the cloud for any data (encrypted or not))

Edit: Sorry, it is a RAID 1 with two disks total.

Best Answer

Is a home NAS reliable to keep your [old but important, private use, no copies on other machines] data on (no other backups)?

Noooo!

Don't even think about doing this, unless you fancy losing your data. Since you refer to the data you intend to store there as "important", I imagine you don't.

RAID will (within limits) help you with recovering from hardware failure, assuming of course that you catch the problem in time and address it promptly. As you quite rightly point out, RAID is not a backup. Also note that all RAID levels are not created equal; RAID 0 provides no redundancy, and can quite easily lower your resilience to hardware failure as all disks in a RAID 0 array must be functional in order for the array to be functional. Lose one, and you lose it all. RAID 5 provides one disk's worth of redundancy, but with today's large disks, the probability of a second failure during the (strenous) resilvering process after a failure is not insignificant.

A "home NAS" is not inherently more reliable than a plain PC built using the same components (and likely is effectively a PC built using very similar components; if you are lucky, with the addition of ECC RAM). It can be made more reliable, but so can your regular PC. (With the exception of perhaps a laptop, for reasons of physical space and hardware compatibility limitations.) For example, my PC has UPS, ECC RAM, and redundant ZFS for storage, all of which contribute to greatly increase storage reliability and all of which are achievable on ordinary hardware. Automated file system level snapshots (ZFS makes this cheap) and automated regular backups provide me with options for disaster recovery.

A single copy of anything, including for example two copies on mirrored disks, is susceptible to being lost to any number of problems. A few examples are (some of these are borrowed from the above linked Server Fault answer):

  • File corruption
  • Human error (deleting files by mistake)
  • Catastrophic damage (someone dumps water onto the server)
  • Virus
  • Software bugs that wipe out data
  • Hardware problems or firmware bugs that wipe out data

If you care about your data, you need at least two distinct copies (including your main working copy); preferably, if you can wing it, three copies (one that you work with, and two for safekeeping). One of these copies should be in a different physical location and ideally one should be on a different type of media than the others. The "distinct copies" part rules out RAIDing the copies; the idea is that a single problem, no matter what kind, must not be able to take out all copies. For a private individual the 3/2/1 scheme (three copies, two backups, one off-site/one on alternate media) is not always practically achievable, but even "just" an external, USB- or eSATA-connected hard disk, hooked to the storage box and regularly updated along with some form of revision history, will go a really long way.

Related Question