virtnbdbackup
virtnbdbackup copied to clipboard
virtnbdmap: support mapping compressed backup images
It should be possible to map compressed images too. One idea would be:
- detect compressed image and read trailer in virtnbdmap
- add info about the compressed block (length and original length / offset) to the blockmap json
- in virtnbd-nbdkit-plugin detect if requested block is compressed, decompress and return decompressed data