<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 12/31/2017 1:23 AM, Yedidyah Bar
      David wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHRwYXs0ocrMZviOcU80_UfuVWS=cqKKYrxekqCfPUJ_6VvZHg@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Sat, Dec 30, 2017 at 10:45 AM,
            Michal Skrivanek <span dir="ltr">&lt;<a
                href="mailto:michal.skrivanek@redhat.com"
                target="_blank" moz-do-not-send="true">michal.skrivanek@redhat.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div dir="auto">
                <div>
                  <div class="gmail-h5">
                    <div><br>
                    </div>
                    <div><br>
                      On 30 Dec 2017, at 06:54, Blaster &lt;<a
                        href="mailto:blaster@556nato.com"
                        target="_blank" moz-do-not-send="true">blaster@556nato.com</a>&gt;
                      wrote:<br>
                      <br>
                    </div>
                    <blockquote type="cite">
                      <div>
                        <div bgcolor="#FFFFFF">
                          <p>I need to create an old oVirt Windows VM. 
                            The VM has an old licensed product that we
                            can no longer get a licensed reissued for. 
                            It looks like I need to feed back the
                            original qemu UUID that was used when the VM
                            was created.</p>
                          <p>I have an engine config backup and a backup
                            of the oVirt storage domain.</p>
                          <p>I viewed the engine backup, but the format
                            as-is doesn't give any obvious configuration
                            details of the VMs at the time of the
                            backup.  Is the UUID as obvious as the file
                            name of the VM's boot volume UUID name?</p>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                </div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>I think it's the field 'vm_guid' in the table
              'vm_static'.<br>
              <br>
            </div>
            <div>You can restore the backup on a temp vm somewhere -
              make sure it has no<br>
            </div>
            <div>access to your hosts so that the engine will not start
              to manage them -<br>
            </div>
            <div>or just look at the db dump. The backup is a tar file,
              and you can look<br>
            </div>
            <div>at db dumps inside it using 'pg_restore filename |
              less'.<br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div dir="auto">
                <div>
                  <div class="gmail-h5">
                    <div><br>
                    </div>
                  </div>
                </div>
                The guest UUID is configurable per VM in Edit dialog,
                you can use a custom value</div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Thank you, I was able to get the UUID back!<br>
    <p><br>
    </p>
  </body>
</html>