Hi Lukaz,

Backup using the new incremental backup API is supported only for running VMs.


On Thu, 8 Oct 2020 at 12:36, Łukasz Kołaciński <l.kolacinski@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>

I found here: https://www.ovirt.org/develop/release-management/features/storage/incremental-backup.html 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."

If you will read until the end of the paragraph you will see that the support for this deferred at this time- 

We considered alternative solution using qemu-nbd, but According to Eric Blake qemu-nbd does not support yet exposing bitmap info, so we would not be able to provide the change block list.

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.


 

But it doesn't seem to work.

Regards,

Łukasz Kołaciński

Junior Java Developer

e-mail: l.kolacinski@storware.eu


 

STORWARE

ul. Leszno 8/44
01-192 Warszawa
www.storware.eu

facebook

twitter

linkedin

Storware_Stopka_09

 

Storware Spółka z o.o. nr wpisu do ewidencji KRS dla M.St. Warszawa 000510131 , NIP 5213672602. Wiadomość ta jest przeznaczona jedynie dla osoby lub podmiotu, który jest jej adresatem i może zawierać poufne i/lub uprzywilejowane informacje. Zakazane jest jakiekolwiek przeglądanie, przesyłanie, rozpowszechnianie lub inne wykorzystanie tych informacji lub podjęcie jakichkolwiek działań odnośnie tych informacji przez osoby lub podmioty inne niż zamierzony adresat. Jeżeli Państwo otrzymali przez pomyłkę tę informację prosimy o poinformowanie o tym nadawcy i usunięcie tej wiadomości z wszelkich komputerów. This message is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and remove the material from all of your computer systems.


_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/QGUVJW5HWQG6W5ZQWKYTQ4I7UTAC53M5/


--
Regards,
Eyal Shenitzky