I've had following situation:
Data & Backups: I had a computer (with Windows 10) with data (some files "static" like photos, others with more like "work in progress" things that would change over time as I worked on them) on a hard disk drive (the ones with the spinning magnetic disks).
There was a live backup software running to an external hard drive (permanently attached), which allowed to view some previous versions of the file.
Furthermore there was also a "manual" backup - that is, with a backup software, but manually started - every few months to an external hard drive (usually stored off site) and and a server.
Problem: At some point I realized some files were shown as 0kB in the file explorer.
After consulting the various backups, it became clear that some have been 0kB as far back as the backups go, the backups that still contained the original files must have been overwritten at that point. (So more than 8-12 months back.)
It turned out that the hard disk in that computer failed. (Most files were still ok though, which is why I noticed only so late.) It did turn out that accessing some of these 0KB files would just freeze the OS, which is when I noticed that the problem must be a failing hard drive.
Question: How can I prevent this from happening in the future? Is there some way to continuously check or get alerted when files get corrupted or a harddisk starts to fail?
Since the some files change it would be impractical to compare e.g. hashes when doing backups, as you'd have to remember which files you worked on and which you did not. I just thought I had a solid backup plan, but evidently it didn't protect me against this problem of a hard drive silently failing.