cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Mehta <>
Subject Re: Restore a VM from template
Date Sat, 05 Jan 2013 14:17:03 GMT
Hi Kelcey / Trevor  - I think you got confused between 2 apis we have in Cloudstack - restoreVirtualMachine
and recoverVirtualMachine.
restore vm api restores a new volume for the vm keeping the IP address and other attributes
intact. This action is available only when the vm is stopped or running state. Whereas recover
vm is for recovering the vm and just changes the state of the vm (from destroyed to stopped)
 and is available when the vm is in destroyed state.

But we show actions for only one of them in the UI actions. We should have one for restoreVirtualMachine
api as well.


On 05-Jan-2013, at 10:35 AM, Kelceydamage@bbits wrote:

We discussed this, but RestoreVM is for resurrecting a VM in status 'Destroyed' before its

Trevor wants to re-image an existing VM. You could also look it at snapshot rollback. Being
able to restore a VM to a previous state.

Most importantly Trevor needs a solution that does not change or re-assign the VMs IP due
to corporate application restrictions.

Sent from my iPhone

On Jan 4, 2013, at 8:57 PM, Koushik Das <<>>

Take a look at restoreVirtualMachine API (


From: Trevor Francis []
Sent: Saturday, January 05, 2013 2:08 AM
Subject: Restore a VM from template

Is there a way to restore a VM from a template that was created from the API?

Trevor Francis
46 Labs | PeerEdge Cloud Switch (PeCS) |
720-214-3643- Voice<>

Solutions Provider for the Telecom Industry

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message