On Tue, Oct 6, 2020 at 4:08 PM Łukasz Kołaciński
<l.kolacinski(a)storware.eu> wrote:
Hello,
While trying to backup stopped VM (with POST on
/ovirt-engine/api/vms/b79b34c0-d8db-43e5-916e-5528ff7bcfbe/backups) I got the response:
<?xml version="1.0" encoding="UTF-8"
standalone="yes"?>
<fault>
<detail>[Cannot backup VM. The Virtual Machine should be in Up
status.]</detail>
<reason>Operation Failed</reason>
</fault>
Yes, this is not supported now.
I found here:
https://www.ovirt.org/develop/release-management/features/storage/increme...
that it should be possible to back up a virtual machine that is not running.
"If the VM is not running, the system will create a paused, stripped-down version of
the VM, with only backup disks attached, and use libvirt API to start and stop the
backup."
This is a possible solution we considered, but it is not implemented yet.
The next line is:
Since creating special paused VM for backing up non-running VM is a
lot of work,
we may defer support for backing up non-running VMs.
We got a request to implement this from other backup vendor, and we are
discussing the possible solutions with platform folks.
Nir