The only feature borgmatic is missing for our workflow is a way to backup libvirt’s virtual disks from running virtual machines (we use LVM).
borg already has all we need with the
--read-special argument, it would be just a matter of creating a read-only snapshot and then remove it when we are done.
We could have something like this in the config file:
source_logical_volumes: # By path - /dev/vg1/mercury.planets.org-disk # By name - venus.planets.org-disk # By partition within the volume, automatically using kpartx? (maybe that's too much) - earth.planets.org-disk@2
Or perhaps be fancy and backup whatever disk a VM is configured with:
source_libvirt: # Backup all of the 'mars.planets.org' disks - mars.planets.org
@witten I’m willing to write a patch if you like the feature.