Corsinvest / cv4pve-barc

Backup And Restore Ceph for Proxmox VE
https://www.cv4pve-tools.com
GNU General Public License v3.0
83 stars 22 forks source link

[Feature request] Implement integrity check #37

Open matveevandrey opened 5 years ago

matveevandrey commented 5 years ago

It would be cool to have an ability to perform integrity check on stored images

To reduce memory usage checksum should be calculated for stream instead of file thus we have only double read: compare( read(base_image +diffs) vs read(current_rbd_snapshot))

Yes this function will be resource consuming but if it applies once per week/month I think it would be enough.

However in my understanding this feature could only be implemented after adding: https://github.com/EnterpriseVE/eve4pve-barc/issues/36

lephisto commented 4 years ago

Done here: https://github.com/lephisto/cv4pve-barc/commit/0886ef1cf6a41a58d3fbaa968b925d950dd32b29