Re: Disk backup for live and offline domains

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



have you tried to use direct access to block devices using lvm in your vm's and then do backups with lvm snapshots?

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.


Regards.
Daniel Romero P.



On Tue, Sep 10, 2019 at 5:38 PM Tim Schumacher <tim@xxxxxxxxxx> wrote:
Hi,

I followed the instructions on the wiki
https://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit
for a live disk backup. Unfortunately this is not working when the
domain is offline because the active blockcommit throws

error: Requested operation is not valid: domain is not running

For my use case it should be possible for the domain to shut down while
the backup is in progress. I'm looking for a way to shorten the backing
chain after the backup finishes and the domain is offline.

Is there a way to let libvirt decide wether to shorten the backing chain
using blockcommit or some alternative way which works on offline
domains?

As I'm writing this I might as well ask about the current state of
"incremental backups". It seems like dirty bitmaps can keep track of
which blocks changed and just copy those to the backup. Is there some
libvirt command-line frontend for that or is it planned for the future?

Thanks.

- Tim
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux