how to create vm from snapshot via ovirt-shell (ovirt 4.0)

Hi ovirt expertise i am new to ovirt, i now start install and play around. i unable find any doc from web site to create vm from snapshot via ovirt-shell (ovirt 4.0) , any help on this. i mange to create vm from snapshot via webui i would like to perform backup vm via api by using ovirt-shell. i have totally no knowledge on python ideal as below: create snapshot #add snapshot --parent-vm-name "rhel6.8_server02" --description 'my snapshot' create vm from snapshot ## missing, need help del snapshot # remove snapshot "597e550e-1285-46a0-86a3-6170791bc72d" --parent-vm-name "rhel6.8_server02" export vm to export domain ## missing , need help del vm # remove vm --parent-vm-name "rhel6.8_server02-snapshot" regards csyeow

------=_Part_139964_1011925863.1474294631626 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit ----- Original Message -----
From: "csyeow" <csyeow@gmail.com> To: users@ovirt.org Cc: "csyeow ( gmail )" <csyeow@gmail.com> Sent: Monday, September 19, 2016 1:11:42 PM Subject: [ovirt-users] how to create vm from snapshot via ovirt-shell (ovirt 4.0)
Hi ovirt expertise
i am new to ovirt, i now start install and play around.
i unable find any doc from web site to create vm from snapshot via ovirt-shell (ovirt 4.0) , any help on this. i mange to create vm from snapshot via webui
i would like to perform backup vm via api by using ovirt-shell. i have totally no knowledge on python
ideal as below:
create snapshot #add snapshot --parent-vm-name "rhel6.8_server02" --description 'my snapshot'
create vm from snapshot ## missing, need help
<div><br></div><div>Hi,<br></div><div><br></div><div>you mean you want to = start a VM with the snapshot attached?<br></div><div><br></div><div>Perhaps=
Hi, you mean you want to start a VM with the snapshot attached? Perhaps this page could help https://www.ovirt.org/develop/release-management/features/storage/backup-res... Bests, -- Francesco Romani RedHat Engineering Virtualization R & D Phone: 8261328 IRC: fromani ------=_Part_139964_1011925863.1474294631626 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: times new roman, new york, times, se= rif; font-size: 12pt; color: #000000"><hr id=3D"zwchr"><blockquote style=3D= "border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;= font-weight:normal;font-style:normal;text-decoration:none;font-family:Helve= tica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"csyeow" <csyeow@gma= il.com><br><b>To: </b>users@ovirt.org<br><b>Cc: </b>"csyeow ( gmail )" &= lt;csyeow@gmail.com><br><b>Sent: </b>Monday, September 19, 2016 1:11:42 = PM<br><b>Subject: </b>[ovirt-users] how to create vm from snapshot via ovir= t-shell (ovirt 4.0)<br><div>= <br></div><div dir=3D"ltr"><div><div>Hi ovirt expertise<br><div><br></div><= /div><div>i am new to ovirt, i now start install and play around.<br></div>= <div><br></div>i unable find any doc from web site to create vm from snapsh= ot via ovirt-shell (ovirt 4.0) , any help on this.<br></div><div>i mange to= create vm from snapshot via webui<br></div><div><br></div><div>i would lik= e to perform backup vm via api by using ovirt-shell. i have totally no know= ledge on python <br><div><br></div></div><div>ideal as below:<br><div><br><= /div></div><div>create snapshot<br></div><div>#add snapshot --parent-vm-nam= e "rhel6.8_server02" --description 'my snapshot'<br><div><br></div>create v= m from snapshot<br></div><div>## missing, need help</div></div></blockquote= this page could help<br></div><div>https://www.ovirt.org/develop/release-m= anagement/features/storage/backup-restore-api-integration/</div><div><br></= div><div><br></div><div>Bests,<br></div><div><br><br></div><div><br></div><= div>-- <br></div><div><span name=3D"x"></span>Francesco Romani<br>RedHat En= gineering Virtualization R & D<br>Phone: 8261328<br>IRC: fromani<span n= ame=3D"x"></span><br></div></div></body></html> ------=_Part_139964_1011925863.1474294631626--
participants (2)
-
csyeow
-
Francesco Romani