After creating the template try this API.
http://localhost:8096/client/api?command=restoreVirtualMachine&virtualmachineid=<vm
 id>&templateid=<template id>

-Harikrishna

On 02-Sep-2013, at 11:12 AM, Nitin Mehta <nitin.me...@citrix.com> wrote:

> 
> You can create template from this snapshot and then restore the vm from
> this new template id.
> Internally it will discard the old root volume and start the vm with a new
> disk from this new template
> I think this is possible in 4.2. Give it a shot and see how it goes :)
> 
> 
> On 30/08/13 3:36 PM, "Marty Sweet" <msweet....@gmail.com> wrote:
> 
>> I am also interested in this, using snapshots as a 'last resort backup' or
>> a simple fallback is something that I think people would find very useful,
>> without having to remake VM instances.
>> 
>> Marty
>> 
>> 
>> On Fri, Aug 30, 2013 at 11:02 AM, Gaspare A Silvestri <
>> g.silves...@netsons.com> wrote:
>> 
>>> Hello everybody,
>>> 
>>> is it possible generating a new root volume from a snapshot created by
>>> the
>>> root volume, and then assigning it to the same VM as root disk, deleting
>>> the old one?
>>> 
>>> What I'm trying to explain is a way to operate similar to the hypervisor
>>> snapshot, using the new volume (considered as a backup) as substitute of
>>> the old volume.
>>> 
>>> Thanks in advance,
>>> 
>>> Gaspare
>>> 
> 

Reply via email to