<div dir="ltr">I can suggest waiting for 4.1 for this as we are adding download ability as well.<div>This will allow you at first to backup and restore base images and later on in 4.1.z uploading and downloading snapshots.</div><div><br></div><div>I believe that both full and granular restore can be done via the API as we support offset uploads, can you give more details on the different between these options?</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><pre cols="72"><span style="font-family:arial,helvetica,sans-serif">Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109
Tel : +972 (9) 7692306
8272306
Email: <a href="mailto:ydary@redhat.com" target="_blank">ydary@redhat.com</a>
IRC : ydary</span></pre>
</div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Nov 30, 2016 at 3:19 PM, Victor Jose Acosta <span dir="ltr"><<a href="mailto:vic.ad94@gmail.com" target="_blank">vic.ad94@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Thanks Yaniv, i read about image io streaming after send that
email, i will use it for my project.<br>
<br>
I will explain to you what I'm trying to do:<br>
<br>
- I'm creating a software to make full backup and restore of VMs
using python and the backup/restore api<br>
<br>
- The main difference is, i want to have the option to make a full
restore or granular restore.<br>
<br>
- The backup process is:<br>
<br>
- Create snapshot off the vm<br>
<br>
- Mount snapshot disk to a "backup vm"<br>
<br>
- Identify device name of that disk, this means "/dev/vdc" and
so on.<br>
<br>
- Create a qcow2 image from disk<br>
<br>
- Get vm configuration in a xml file<br>
<br>
- Create a compressed file from both files<br>
<br>
- Detach disk from backup vm<br>
<br>
- Delete the snapshot<br>
<br>
- The full recovery process is:<br>
<br>
- Upload the qcow2 files throw image io api<br>
<br>
- Create a new vm based on the xml file<br>
<br>
- The granular recover process is:<br>
<br>
- Mount the qcow2 image to as a loop device<br>
<br>
- Copy files<br>
<br>
I will create a kind of new format, this "new format" will be a
.tgz file with:<br>
<br>
- qcow2 images, ordered by number, example:<br>
<br>
- 00-vm.qcow2<br>
<br>
- 01-vm.qcow2<br>
<br>
- the vm xml file<br>
<br>
I working on this a few days ago, so if you are interested it will
be a pleasure to me provide a solution to the community.<br>
<br>
I will share this project when it's works at least the full
backup/restore function<br>
<br>
I love oVirt but the my main problem is create backup and share
those VMs between DataCenters<br>
<br>
So i decided to create a software to make oVirt even more powerful<br>
<br>
About me: I'm not a developer, so be patient, I'm a sysadmin,
actually a Red Hat Certified Engineer and VMWare Certified
Associate <br>
</p><div><div class="h5">
<div class="m_4791020400820951627moz-forward-container"><br>
</div>
<br>
<div class="m_4791020400820951627moz-cite-prefix">On 30/11/16 08:26, Yaniv Dary wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">It is planned to be replaced with the image IO
streaming API.
<div>With this API you will be able to upload and download VMs
disks and snapshots.</div>
<div>We are also planning to add OVA download and upload in one
of the next releases.</div>
<div>Until this is done we will not be removing the export
domain.</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="m_4791020400820951627gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<pre cols="72"><span style="font-family:arial,helvetica,sans-serif">Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109
Tel : <a href="tel:%2B972%20%289%29%207692306" value="+97297692306" target="_blank">+972 (9) 7692306</a>
8272306
Email: <a href="mailto:ydary@redhat.com" target="_blank">ydary@redhat.com</a>
IRC : ydary</span></pre>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Sun, Nov 27, 2016 at 5:37 PM, Victor
Jose Acosta <span dir="ltr"><<a href="mailto:vic.ad94@gmail.com" target="_blank">vic.ad94@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hello everyone, i got
some questions to you<span><br>
<br>
Export domain will be deprecated so, how do i import a
ova from another oVIrt to my own oVirt?<br>
<br>
i will explain to you what I'm trying to do, i got oVirt
in 3 different sites, and I'm creating a python based
backup software for oVirt 4.x, what i want to do is
create a OVA or OVF file as backup and send it to my
other site, it's a kind of disaster recovery strategy.<br>
<br>
With oVirt 3.x, i do it creating a ova file then import
that .ova file using ovirt-image-uploader, but in oVirt
4 that tool will be deprecated also, so how do i export
a .ova or .ovf file from other oVirt to my own<br>
<br>
Thanks in advance
<div class="m_4791020400820951627m_736227066070034133moz-signature">-- <br>
<img src="cid:part3.AD33C75D.3E37732D@gmail.com" border="0"></div>
</span></div>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div><span class="HOEnZb"><font color="#888888"><div class="m_4791020400820951627moz-signature">-- <br>
<img src="cid:part6.3B7E31D2.C0F6715A@gmail.com" border="0"></div>
</font></span></div>
</blockquote></div><br></div>