Add Snapshot style backups. Refractor Helpers into separate files.
What does this MR do and why?
Primary goal of implementing "snapshot" style de-duplicating backups to Crafty. Large refactor thanks for @amcmanu3 . Implements #258 (closed)
Snapshot backups look specifically at file content in 10mb chunks. If a chunk has already been stored in the backup repository, then it is not stored again. This should dramatically reduce the file-space requirements for repeated backups made of the same server. Ideally, structure of backups should allow for future implementation of encryption and s3 upload/download functionality.
Screenshots or screen recordings
How to set up and validate locally
Test new backup and restore style.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
Have you checked this doesn't interfere/conflict/duplicate someone elses work? -
Have you fully tested your changes? -
Have you resolved any lint issues? -
Have you assigned a reviewer? -
Have you applied correct labels?
Edited by Wout Bouckaert



