[one-users] About virtual machine backup and restore question

Daniel Molina dmolina at opennebula.org
Wed Mar 23 03:51:05 PDT 2011


Hi,

That functionality is included in 2.0.1. If you want to restore a
stopped VM you have to use the onevm resume command [1]. Check that
the VM state after stopping it is "stop".

Hope this helps.

[1] http://www.opennebula.org/documentation:rel2.0:vm_guide

On 22 March 2011 22:44, Rich Wellner <rkw at objenv.com> wrote:
> We are on 2.0.1 and when we try to start a stopped image, it says that
> cannot be done because it's in the wrong state.  Is the below a reference to
> enhancements in 2.2?
>
> rw2
>
> On 3/22/11 6:03 AM, Daniel Molina wrote:
>>
>> Hi,
>>
>> On 18 March 2011 10:07, liudewei<liudewei at neusoft.com>  wrote:
>>>
>>> Hello,
>>>
>>> About virtual machine backup and restore question,
>>>
>>> 1-Through OpenNebula Provides‘ functionality to achieve the virtual
>>> machine
>>> make image template?
>>>    if it is so,  use one.vm.savedisk of xml-rpc API  implement it?
>>>
>>>
>>> 2-Ours Big Cloud Eelastic Completing System is need to be achieve virtual
>>> machine backup and restore function,
>>> Do you think through OpenNebula can be realize it?or Do you have any good
>>> way to achieve?
>>
>> You can use the save_as functionality [1] in order to get a Virtual
>> Machine backup. If you run the following command
>> $ onevm saveas<vm_id>  <disk_id>  <image_name>
>> the specified Virtual Machine disk will be saved after a shut-down in
>> the new image (image_name).
>>
>> On the other hand when you stop a Virtual Machine, a checkpoint is
>> generated containing the VM state [2]. This checkpoint and the disks
>> files, that you can find inside the VMDIR [3, 4], are used to restore
>> the VM keeping its state.
>>
>> Moreover, we are improving the Image repository functionality, for
>> upcoming releases, adding new features like snapshotting of running
>> VMs.
>>
>> Regards.
>>
>> References:
>> [1] http://www.opennebula.org/documentation:rel2.2:img_guide#save_changes
>> [2]
>> http://www.opennebula.org/documentation:rel2.2:vm_guide#virtual_machine_life-cycle
>> [3]
>> http://www.opennebula.org/documentation:rel2.2:ignc#verifying_the_installation
>> [4] http://www.opennebula.org/documentation:rel2.2:sm
>>
>>>
>>> ---------------------------------------------------------------------------------------------------
>>> Confidentiality Notice: The information contained in this e-mail and any
>>> accompanying attachment(s)
>>> is intended only for the use of the intended recipient and may be
>>> confidential and/or privileged of
>>> Neusoft Corporation, its subsidiaries and/or its affiliates. If any
>>> reader
>>> of this communication is
>>> not the intended recipient, unauthorized use, forwarding, printing,
>>> storing, disclosure or copying
>>> is strictly prohibited, and may be unlawful.If you have received this
>>> communication in error,please
>>> immediately notify the sender by return e-mail, and delete the original
>>> message and all copies from
>>> your system. Thank you.
>>>
>>> ---------------------------------------------------------------------------------------------------
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Daniel Molina, Cloud Technology Engineer/Researcher
Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | dmolina at opennebula.org



More information about the Users mailing list