<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello Victor,</p>
    <p>I have some questions about your script<br>
    </p>
    <br>
    <div class="moz-cite-prefix">Le 07/07/2017 à 23:40, Victor José
      Acosta Domínguez a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAPdL93TR3CGcABZbfxiOH+WjyQb-K+itVHBDDBK3kimJSSe9uw@mail.gmail.com">
      <div dir="ltr">
        <div>Hello everyone, i created a python tool to backup and
          restore oVirt's VMs.</div>
        <div><br>
        </div>
        <div>Also i created a little "how to" on my blog:</div>
        <div><a
            href="http://blog.infratic.com/2017/07/create-ovirtrhevs-vm-backup/"
            moz-do-not-send="true">http://blog.infratic.com/2017/07/create-ovirtrhevs-vm-backup/</a></div>
      </div>
    </blockquote>
    <ul>
      <li>Backup step is okay, and I get a usable qcow2 image of the
        snapshot vm in the backup vm. It seems to be compliant with the
        official backup API, except on the step 2.</li>
    </ul>
    <ol>
      <li><i>Take a snapshot of the virtual machine to be backed up -
          (existing oVirt REST API operation)</i></li>
      <li><i>Back up the virtual machine configuration at the time of
          the snapshot (the disk configuration can be backed up as well
          if needed) - (added capability to oVirt as part of the Backup
          API)</i></li>
    </ol>
    <p><font color="#ff0000">I can't see any vm configuration anywhere
        but only the qcow2 disk itself</font></p>
    <ol>
      <li><i>Attach the disk snapshots that were created in (1) to the
          virtual appliance for data backup - (added capability to oVirt
          as part of the Backup API)</i></li>
      <li> <i><br>
        </i></li>
      <li><i>Detach the disk snapshots that were attached in (4) from
          the virtual appliance - (added capability to oVirt as part of
          the Backup API)</i></li>
    </ol>
    <p>An other case is when the vm to backup has more than one disk.
      After I tested it, I found that only one qcow2 disk is saved on
      the backup vm. This is really a matter when the original vm has
      many disks part of lvm, it makes the vm restoration unusable.<br>
    </p>
    <ul>
      <li>About vm restoration, it seems that you are using the
        upload_disk api, so the disk is uploaded to the pre-defined
        storage domain, so it is not a real vm restoration.    <br>
      </li>
    </ul>
    <p>Do you plan to backup and restore a full VM (disks + vm
      definition) in a next release?<br>
    </p>
    <blockquote type="cite"
cite="mid:CAPdL93TR3CGcABZbfxiOH+WjyQb-K+itVHBDDBK3kimJSSe9uw@mail.gmail.com">
      <div dir="ltr">
        <div><br>
        </div>
        <div>I hope it help someone else</div>
        <div><br>
        </div>
        <div>Regards</div>
        <div><br clear="all">
          <div>
            <div class="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div>
                                      <div dir="ltr">
                                        <div>
                                          <div dir="ltr"><span>Victor
                                              Acosta<br>
                                              <br>
                                            </span></div>
                                          <div><span></span></div>
                                          <div dir="ltr"><span></span><span><span><img
src="https://docs.google.com/uc?id=0BxRkeOBHApwsV2Ywcl92YWlaQnc&amp;export=download"
                                                  moz-do-not-send="true"
                                                  height="96" width="77"><img
src="https://docs.google.com/uc?id=0BxRkeOBHApwsWDFFcGZ2X1czc1E&amp;export=download"
                                                  moz-do-not-send="true"
                                                  height="96" width="76"><img
src="https://docs.google.com/uc?id=0BxRkeOBHApwsMTVrSHp2Y0NEY28&amp;export=download"
                                                  moz-do-not-send="true"
                                                  height="96" width="93"></span></span><br>
                                            <img alt=""
                                              moz-do-not-send="true"></div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5         
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
<a class="moz-txt-link-abbreviated" href="mailto:blanchet@abes.fr">blanchet@abes.fr</a> </pre>
  </body>
</html>