Backup LVM LV with bup
Bup is a backup software that uses git for storage. Bup imports chunks of files to deduplicate large files.
$ cat /dev/mapper/virtualmachines-sarge | bup split -n virtualmachines-sarges
bloom: adding 1 file (10967 objects).
$ bup join virtualmachines-sarges > /tmp/sarges.img
$ file /tmp/sarges.img /tmp/sarges.img: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3, stage2 address 0x2000, stage2 segment 0x200, GRUB version 0.94; partition 1: ID=0x83, active, starthead 1, startsector 63, 9976302 sectors; partition 2: ID=0x5, starthead 0, startsector 9976365, 498015 sectors, code offset 0x48