Backup validation/verification
-
@olivierlambert @julien-f
Is there a way to force a manual or an automated job to validate delta backups (on S3 or other storage)?Yes, I could just restore it but I actually want to "restore" it to /dev/null and make sure that all checksums/hashes and all needed merges are working and valid. Yes, I understand that it could require reading all the data (optionally? or just checksums) and will take a while per-VM. Yes, I could just run a full restore but a data validation would be quicker and not use storage local space.
I would think it would start with validating the full backup and then making sure each delta would merge into the last. Can it be done without actually holding the full backup locally and without creating a new full backup copy remotely? I guess you could locally hold the delta merges vs. the full so the local dataset would grow but not as large as a full backup.
I have seen delta backups (or merges) fail and leave the backup chain corrupted.
This is the same idea as writing to tape and then rewinding so you can read it back and verify that the backup data is valid.
-
Backup autorestore for basic tests is already planned and should be out this quarter @florent is the one working on it (he started to do some basic tests).