Export and Import Virtual Machine in Hyper-v on Windows Server 2012 R2

Export and Import Virtual Machine in Hyper-v on Windows Server 2012 R2

Windows Server 2012 R2 Hyper-v is provide a export and import feature. Means you can export the complete Virtual Machine as backup from a Physical Machine of Windows Server 2012 R2 and import means restore the complete Virtual Machine to the same or other Physical Machine of Windows Server 2012 R2.

Export Virtual Machine:

To export the Virtual Machine from Windows Server 2012 R2 Hyper-v right click on Virtual Machine then click export. Provide the location to preserve the export Virtual Machine, then click on export.

how export and import virtual machine in hyper-v on windows server 2012 r2

In the below image you can see that Virtual Machine in Hyper-v on Windows Server 2012 R2 is exporting.

how export and import VM in hyper-v on windows server 2012 r2

Virtual Machine in Hyper-v on Windows Server 2012 R2 has successfully exported. The export Virtual Machine is contain same folders as primary Virtual Machine.

how to export and import VM in hyper-v on windows server 2012 r2

Import Virtual Machine:

To import the Virtual Machine in Hyper-v on Windows Server 2012 R2 right click on the server name then click on "Import Virtual Machine".

how export and import VM in hyperv on windows server

Click next to Continue, if you don't want to see before you begin page again tick the check mark on "Do not show this page again". Provide the Folder Location of exported Virtual Machine. Select the Virtual Machine to import then click next to continue.

how export vm in hyperv on windows server

Choose the type of import, Windows Server 2012 R2 Hyper-v provides three types of import that are mention below.

Register the Virtual Machine in-place (use the existing unique id):

It means the imported Virtual Machine has the same id as exported Virtual Machine and imported virtual machine run from the same exported folder. If Virtual Machine is import on the same Physical Machine where from it has exported, first delete the same old Virtual Machine then import the Virtual Machine.

Restore the Virtual Machine (use the existing unique id):

In this option imported Virtual Machine also has the same id as exported Virtual Machine. The Main benefit of this option you can import Virtual Machine on any location. If you import virtual machine on the same Physical Machine first delete the same old Virtual Machine then import the Virtual Machine.

Copy the Virtual Machine (Create a new unique id):
This option have a similar functionality as restore. The imported Virtual Machine create the new unique id therefore you can import the same exported Virtual Machine multiple times on the same Physical Machine, this is the main benefit of this option.

We are importing the Virtual Machine on other Physical Machine therefore we will choose this option "Restore the Virtual Machine in-place (use the existing unique id)".

how export and import virtual machine in hyperv on windows server 2012 r2

We are importing Virtual Machine on other Physical Computer therefore click on "Delete Saved State". The reason is to allow for migration of this Virtual Machine to Physical Computer with different processors. Then click "Next" to Continue.

how export and import vm in hyperv on windows server

To complete the import wizard click on "Finish". The Virtual Machine in Hyper-v on Windows Server 2012 R2 has successfully imported.

how to export and import vm in hyperv

To Power on the Virtual Machine right click on Virtual Machine then click on "Start". The imported Virtual Machine has successfully Booted.

how export and import vm in hyperv

Thanks for read this article

Comments