[GH-ISSUE #181] Feature-Request:Backup VM #122

Open
opened 2026-02-27 15:57:25 +03:00 by kerem · 5 comments
Owner

Originally created by @savichev on GitHub (Sep 12, 2018).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/181

https://github.com/milkey-mouse/backup-vm

Originally created by @savichev on GitHub (Sep 12, 2018). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/181 https://github.com/milkey-mouse/backup-vm
Author
Owner

@catborise commented on GitHub (Sep 13, 2018):

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.

<!-- gh-comment-id:420985453 --> @catborise commented on GitHub (Sep 13, 2018): 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.
Author
Owner

@4920441 commented on GitHub (Apr 20, 2019):

Hi,
any news about this? would be nice.

Cheers

<!-- gh-comment-id:485160261 --> @4920441 commented on GitHub (Apr 20, 2019): Hi, any news about this? would be nice. Cheers
Author
Owner

@catborise commented on GitHub (Apr 20, 2019):

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

<!-- gh-comment-id:485163692 --> @catborise commented on GitHub (Apr 20, 2019): 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
Author
Owner

@vuanhson commented on GitHub (Aug 13, 2020):

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)

<!-- gh-comment-id:673247908 --> @vuanhson commented on GitHub (Aug 13, 2020): 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)
Author
Owner

@catborise commented on GitHub (Aug 13, 2020):

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...)

<!-- gh-comment-id:673379855 --> @catborise commented on GitHub (Aug 13, 2020): 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...)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#122
No description provided.