webvirtcloud
webvirtcloud copied to clipboard
Feature-Request:Backup VM
https://github.com/milkey-mouse/backup-vm
hi, full backup is very easy. i can add it. but incremental backup need some work.
i have implement it for backup and replication and i have a plan to merge it. i think it needs some time. libvirt group will add inc backup as an api.
Hi, any news about this? would be nice.
Cheers
Qemu external snapshot and dirty block are still developing . As far as i see, required properties come with qemu version 4 . Libvirt still does not support external snapshots.
To implement that ourselves requires much effort, still i did implement it. But there are some caveats with dirty blocks. If you activate it you cannot resize qcow2 images. And migration problems...
I am waiting for qemu4 to merge external snapshots.
full backup is easy . But External snapshot = incremental backup
Sorry for commenting on old issue, but are there any update? did full backup and incremental backup are implemented? (I want to backup VM and all disk to my NAS)
libvirt team try to implement external backup/checkpoints but they could not. and they postpone it. i did my implementation but it is complicated code, it works but there is some hiccups related with qemu/libvirt. for example if you use lock mechanism, external backups merging does not work. they use dirty bitmaps but there are also some problems with migrations.
these problems commonly solved by qemu latest relases 5.0 and 5.1 but it takes time to build and bring to oses. if libvirt implements checkpoints it will be so easy to add. but if i have to implement it.. problems... (by the way i am using it internally for replication to another storage and it works...)