Reliable backup must protect from a lot of things at once - and failure of only one of that layers might make the complete solution useless:
- Protect from medium failure
- protect from file system corruption and similar software failure
- protect from deletion, encryption by malware, etc.
There are many tools out there to achieve this: Let's start with RAID:
RAID will protect you from loss of a disk or a few disks. Configured and monitored correctly, it will provide high resilience against medium loss. It does however, and that's important, provide no protection at all against the other two failure points.
File system corruption is rare, but if it hits it very often results in partial data loss. Murphy's law makes sure, it's the most important files that are lost. There are two main approaches to this:
- First of all use a very resilient file system: I am hesitant to make recommendations, but I dare say that XFS worked very well for me. In contrast to that, I have already lost ań ext4 file system to software failure.
- Next explore the use of snapshots: This has a lot of advantages, one of them being that even a hot snapshot of the file system is very likely to be mountable without major data loss if really necessary. In addition to that, monitoring the snapshot space usage gives you an idea of the file system change rate, thus alerting you of e.g. a crypto virus maybe before it is too late. It is also trivial to recover a deleted file from a snapshot.
Deletion, encryption, etc. must be fought on different levels: I already mentioned what snapshots can contribute to the mix, but basically what you need is a cold copy of the data. Snapshots may or may not be good enough, that needs to be your choice after deliberation of all circumstances.
EDIT
Let me add one more thing: If you explore ZFS, make sure you know what you do: If something happens to your ZFS strcuture you need very specialized knowledge to get out of that situation. My personal experience is to not rely on it, if you don't have years-long experience in how to recover from problems - else you risk losing everything in one swoop.