backup-vm
backup-vm copied to clipboard
Back up a full image of a libvirt-based VM using Borg
I am having some issues with backup-vm. The below is happening to me fairly often. Seems to be more frequent for some VMs than others, which could be depending on...
First: great project, thanks for publishing it! Now my issue: I tried to backup a live VM and it failed with this error: libvirt.libvirtError: internal error: unable to execute QEMU...
Makefile
Great project! And it would be even better with a Makefile.
If a VM has complex chains of disks (e.g. you want to back up snapshots already created, or even just having a qcow2 with another backing disk before running) not...
I'm currently evaluating a couple of other backup engines which implement public key crypto e.g. https://github.com/dpc/rdedup and I'd like to adapt backup-vm to work with this. This could either be...
See https://github.com/borgbackup/borg/pull/3731#issuecomment-376658214. Would only work if borgbackup/borg#2233 happens.
Since a couple of days I'm using "backup-vm" for some qemu/libvirt VMs, so far mostly successful. Today, a backup failed with the following error: ``` starting backup libvirt: error code...
should probably mock libvirt instead of relying on the actual library. I'm leaning towards using the builtin `unittest` module instead of `nose` or `py.test` since it's supported on all python...
- [x] Refactor single file into module (e1b1519) - [x] Basic restore functionality (aae2c0e) - [ ] Create non-dummy implementation of `DiskLock` (see [libvirt source](https://libvirt.org/git/?p=libvirt.git;a=blob;f=src/locking/lock_driver_lockd.c;h=c3fc18a8a7686ca12251f7fe48d2a916c888e038;hb=291f68b5da78a303c58ca45b5d8be61e8047d328#l485), it doesn't look like this...
In order for libvirt to allow restoration, backup and restore ops would have to fully store the state of the snapshot in the backup so it can be tacked back...