aruhier / virt-backup

Backup your kvm guests managed by libvirt
Other
106 stars 23 forks source link

Split compression/decompression in order to easily add a new method #20

Closed aruhier closed 5 years ago

aruhier commented 5 years ago

As the tar library is used for compression (or just packing the backups inside one archive), virt-backup is limited to the algorithms it offers.

I really would like to add zstd in order to speedup the compression with keeping a good compression ratio. In order to do that, the compression/decompression needs to be split in a generic class, inherited by each algorithm that would be able to be plugged-in in the backuper/restorer.

aruhier commented 5 years ago

Fixed in compression_split