<div dir="ltr"><div>have you tried to use direct access to block devices using lvm in your vm's and then do backups with lvm snapshots?</div><div><br></div><div>I'm currently migrating all my "images" vm's to "lvm" vm's because taking live snapshots is very easy this way. In your case live and offline snapshot script should be the same.<br></div><div><br></div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Regards.<br>Daniel Romero P.<br><br></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 10, 2019 at 5:38 PM Tim Schumacher <<a href="mailto:tim@timakro.de">tim@timakro.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I followed the instructions on the wiki<br>
<a href="https://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit" rel="noreferrer" target="_blank">https://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit</a><br>
for a live disk backup. Unfortunately this is not working when the<br>
domain is offline because the active blockcommit throws<br>
<br>
error: Requested operation is not valid: domain is not running<br>
<br>
For my use case it should be possible for the domain to shut down while<br>
the backup is in progress. I'm looking for a way to shorten the backing<br>
chain after the backup finishes and the domain is offline.<br>
<br>
Is there a way to let libvirt decide wether to shorten the backing chain<br>
using blockcommit or some alternative way which works on offline<br>
domains?<br>
<br>
As I'm writing this I might as well ask about the current state of<br>
"incremental backups". It seems like dirty bitmaps can keep track of<br>
which blocks changed and just copy those to the backup. Is there some<br>
libvirt command-line frontend for that or is it planned for the future?<br>
<br>
Thanks.<br>
<br>
- Tim<br>
_______________________________________________<br>
libvirt-users mailing list<br>
<a href="mailto:libvirt-users@redhat.com" target="_blank">libvirt-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/libvirt-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/libvirt-users</a></blockquote></div>