# Moving VM's from one Opennebula instance to another

**URL:** <https://forum.opennebula.io/t/moving-vms-from-one-opennebula-instance-to-another/7742>\
**Category:** Product Support\
**Created:** [October 17, 2019, 3:31pm UTC](https://forum.opennebula.io/t/moving-vms-from-one-opennebula-instance-to-another/7742 "2019-10-17T15:31:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kingbuffalo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/kingbuffalo/32/5672_2.png) [@kingbuffalo](https://forum.opennebula.io/u/kingbuffalo)\
**Post date:** [October 17, 2019, 3:31pm UTC](https://forum.opennebula.io/t/moving-vms-from-one-opennebula-instance-to-another/7742/1 "2019-10-17T15:31:29Z")

</div>

Hello all,

I am in the process of moving our Virtual machines from one Opennebula instance to another.  
Currently they are all up and working on the OLD current instance.  
I have built the new instance and I am now looking to Move these over (Or clone them and move them).

is there any easy way to do so, i know i will need to reconfigure networking etc. I am wondering if there is any way to bundle the current VM as a qcow2 file or .raw and then upload this to the new Setup, i can then move these over.

has anyone ever done anything like this before.

i would rather avoid rebuilding all the server’s again

---

<div class="post-metadata">

**Author:** ![FoxSibirsky](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/foxsibirsky/32/4949_2.png) [@FoxSibirsky](https://forum.opennebula.io/u/FoxSibirsky)\
**Post date:** [October 18, 2019, 3:11am UTC](https://forum.opennebula.io/t/moving-vms-from-one-opennebula-instance-to-another/7742/2 "2019-10-18T03:11:10Z")

</div>

Hello, Yes I did it with SSH datastore and qcow disks when I was importing VM’s from clear KVM host to the Opennebula.  
There are 2 ways

- I created an empty VM in Opennebula and shut it, then I copied manually VM disks to the host and renamed it as disk1, disk2 respectively.
- I created a new VM in Opennebula with working OS, added disks and made migration with (dd, dump) inside the auxiliary OS. After it I changed the boot order in VM’s configuration.

PS.  
Also I’ve tried to move a entire host with VMs  
[My old experiment](https://forum.opennebula.io/t/its-possible-to-import-nodes-form-different-opennebula-system/2598)  
In a nutshell: OpenNebula is not prepared for that scenario

---

<div class="post-metadata">

**Author:** ![kingbuffalo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/kingbuffalo/32/5672_2.png) [@kingbuffalo](https://forum.opennebula.io/u/kingbuffalo)\
**Post date:** [October 18, 2019, 10:14am UTC](https://forum.opennebula.io/t/moving-vms-from-one-opennebula-instance-to-another/7742/3 "2019-10-18T10:14:11Z")

</div>

Thanks for the reply

Where does opennebula actually keep the disk images and in what format , so I can basically copy these over from host to host is what your saying and just rename accordingly

---

<div class="post-metadata">

**Author:** ![kingbuffalo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/kingbuffalo/32/5672_2.png) [@kingbuffalo](https://forum.opennebula.io/u/kingbuffalo)\
**Post date:** [October 24, 2019, 1:58pm UTC](https://forum.opennebula.io/t/moving-vms-from-one-opennebula-instance-to-another/7742/4 "2019-10-24T13:58:31Z")

</div>

Just a thank you,

I did as you mentioned and this worked , thanks again.
