Hello, everyone.
I need an advice on the following matter:
I have a filestorage (a hard drive partition), which holds files of various degrees of importance:
- Important
- Not so important
- Rubbish
Certain actions might happen to this storage:
- New files uploaded
- Directory structure change
- Some rubbish removed
- Some useful files deleted by mistake
- Some files become corrupt due to block errors
- Filesystem errors happen
I also have a separate hard drive of 25% larger quantity, on which I want to organize a backup of the first one, satisfying the following property:
Actions 1,2,3 should propagate to the backup. Action 4 should be undoable by restoring files from the backup during some time. (Desirably, as long as possible (until there is space left), but at least one month long). Actions 5 and 6 should be detected and reported to the operator when each backup "task" is performed (perhaps, once every two days) and must in no circumstances propagate to the backup. They should also be undoable from the backup.
Is there any smart backup solution for this task?
I googled for some proposed backup solutions, but most of them either are based on rsync (which syncs the tree, but AFAIU has nothing to prevent point 4, or snapshots, which are just too big.
Any suggestions?