Re: [one-users] Move VM or disk snapshot to another zone or machine

2015-01-23 Thread Manuel Alfonso López Rourich
Thank you very much, I'll test a change of a VM disk.

Best regards

2015-01-23 11:27 GMT+01:00 Carlos Martín Sánchez :

> Hi,
>
> On Fri, Jan 23, 2015 at 8:55 AM, Manuel Alfonso López Rourich <
> alfonso.lo...@cenits.es> wrote:
>
>> Good morning,
>>
>> I'd like to create a back-up copy of a VM and move it to another zone, so
>> that if there is any problem I could restore the VM to a previous state.
>>
>> I found that in ONE 4.6 you can create a VM or a disk snapshot, and I saw
>> that related snapshot files remain associated with the VM, in its own zone.
>>
>> What I'd like to do is to move those files to another zone (for example
>> the disk snapshot image) or at least move them to another machine, to avoid
>> those files to be in the same machine which has been used to deploy the
>> zone.
>>
>> Is there any way to do that? what are the files associated with the
>> snapshots?
>>
>> Thank you very much for your help.
>>
>> Best regards
>>
>
> I think you could use a live disk snapshot [1] for that. OpenNebula will
> create a new Image in the same datastore as the original Image, and then
> you can clone that new img to a different DS [2] (in the same zone).
>
> Moving images to a different zone is not supported. To do that, you can
> take the image file from the DS, the file's path is stored in the SOURCE
> attribute shown in 'oneimage show '. This will be straight forward for
> file-based datastores, not so much for other type of drivers. Then register
> a new image in the new zone as usual.
>
> Hope it helps
>
> [1]
> http://docs.opennebula.org/4.10/user/virtual_resource_management/vm_guide_2.html#disk-snapshoting
> [2]
> http://docs.opennebula.org/4.10/user/virtual_resource_management/img_guide.html#clone-images
>
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org  | cmar...@opennebula.org
>  | @OpenNebula  
>
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Move VM or disk snapshot to another zone or machine

2015-01-23 Thread Carlos Martín Sánchez
Hi,

On Fri, Jan 23, 2015 at 8:55 AM, Manuel Alfonso López Rourich <
alfonso.lo...@cenits.es> wrote:

> Good morning,
>
> I'd like to create a back-up copy of a VM and move it to another zone, so
> that if there is any problem I could restore the VM to a previous state.
>
> I found that in ONE 4.6 you can create a VM or a disk snapshot, and I saw
> that related snapshot files remain associated with the VM, in its own zone.
>
> What I'd like to do is to move those files to another zone (for example
> the disk snapshot image) or at least move them to another machine, to avoid
> those files to be in the same machine which has been used to deploy the
> zone.
>
> Is there any way to do that? what are the files associated with the
> snapshots?
>
> Thank you very much for your help.
>
> Best regards
>

I think you could use a live disk snapshot [1] for that. OpenNebula will
create a new Image in the same datastore as the original Image, and then
you can clone that new img to a different DS [2] (in the same zone).

Moving images to a different zone is not supported. To do that, you can
take the image file from the DS, the file's path is stored in the SOURCE
attribute shown in 'oneimage show '. This will be straight forward for
file-based datastores, not so much for other type of drivers. Then register
a new image in the new zone as usual.

Hope it helps

[1]
http://docs.opennebula.org/4.10/user/virtual_resource_management/vm_guide_2.html#disk-snapshoting
[2]
http://docs.opennebula.org/4.10/user/virtual_resource_management/img_guide.html#clone-images

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org  | cmar...@opennebula.org |
@OpenNebula  
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Move VM or disk snapshot to another zone or machine

2015-01-23 Thread Manuel Alfonso López Rourich
Good morning,

I'd like to create a back-up copy of a VM and move it to another zone, so
that if there is any problem I could restore the VM to a previous state.

I found that in ONE 4.6 you can create a VM or a disk snapshot, and I saw
that related snapshot files remain associated with the VM, in its own zone.

What I'd like to do is to move those files to another zone (for example the
disk snapshot image) or at least move them to another machine, to avoid
those files to be in the same machine which has been used to deploy the
zone.

Is there any way to do that? what are the files associated with the
snapshots?

Thank you very much for your help.

Best regards
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org