[libvirt-users] Disk backup for live and offline domains

2019-09-11 Thread Tim Schumacher
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 runn

Re: [libvirt-users] Disk backup for live and offline domains

2019-09-10 Thread Brandon Doyle
I would try to snapshot more than only live / running VMs’ committed writes. I host all of my VMs at current in ZFS and snapshot regularly, I’m a fan of this method. In the same script, however, I also throw an empty indicator file (“on” or “off”) in the mount point prior to snapshotting. This w

Re: [libvirt-users] Disk backup for live and offline domains

2019-09-10 Thread Daniel Romero
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. Re

[libvirt-users] Disk backup for live and offline domains

2019-09-10 Thread Tim Schumacher
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 runn