How I restore Hyper-v VM in a different location
Hi all,
I do not understand how perform a restore of a VM Hyper-v in different Hyper-v server.
I have two cluster "SYSCLUHVP01M" (source) and "SYSCLUHVP01S" (destination) and each cluster has 2 node:
SYSHVP01M01 |
SYSCLUHVP01M |
SYSHVP01M02 |
SYSHVP01S01 |
SYSCLUHVP01S |
SYSHVP01S02 |
Both the clusters are under the same VMM (Virtual Machine Manager):
SYSSVCVMM02G
For restore I use "Backup, archive and restore" from master server and easily I arrive at this screen:
1. I sected different Hyper-v server
2. I inserted the destination Hyper-v server
3. I can see that the destination is empty and I m not able to browse or fill manually.
4. If I try fill this field, I see ONLY the source directory, but I am not able to browse and select other path, a screenshot below:
I can fill this field with any words, I do not understand.
Some information about this evironment:
Master server - OS Windows server 2012 standard - NBU 7.7.1
All cluster Hyper-v - OS windows server 2012 R2 Datacenter - NBU 7.6.1.1
Thank you for any suggestion and comment,
regards
Hello,
Redirected restore of Hyper-V VM, using the GUI is completly broken/ineffective/half-implemented since years (HV customers really needs more love...). As shown in your screenshot, the restore path will include all the c\clusterstorage\etc.. crap.
So, the only workaround is to use the command-line to perform the restore, using a "change file":
nbrestorevm -vmhvnew -C [vm to restore] -R [path to the change file] -vmserver [any node of the target cluster]
The change file must looks like:
change /C/ClusterStorage/[myVM]/7BC92-8661-999925F01436.xml to /C/ClusterStorage/RestoredVMs/[myVM]/7BC92-8661-999925F01436.xml
change /C/ClusterStorage/[myVM]/MyVM_C.vhd to /C/ClusterStorage/RestoredVMs/[myVM]/MyVM_C.vhd
change /C/ClusterStorage/[myVM]/MyVM_E.vhd to /C/ClusterStorage/RestoredVMs/[myVM]/MyVM_E.vhdBasically one line per vm file, paths are in unix format.
I personnaly use this command to generate a template file that I modify later to act as a change file:
bplist -flops 33554432 -S [master server] -C [VM] -R 999 -t 29 -unix_files "/" > C:\Temp\MyChangeFile.txt
I hope it helps.