V
V
Vladimir2015-12-03 10:13:22
Hyper-V
Vladimir, 2015-12-03 10:13:22

Proper restoration of a virtual machine after hvbackup. How?

Good afternoon.
I have windows server 2012 r2. It is running hyper-v with one virtual machine (windows server 2008 r2).
I backup this virtual machine using the HVbackupLaunch script , which in turn uses hvbackup .
Everything is done well, but here the other day I decided to reproduce the "breakdown of the virtual machine" and restore the machine from the backup.
Without turning off the running virtual machine, I created a new virtual machine and took only the vhd file from the backup, which I slipped as a disk for the new virtual machine.
Everything worked out. The new virtual machine sees the Internet (checked), responds to pings. I did not change the network adapter settings.
Problem: I can't connect via rdp to this new machine (connection from hyper-v works).
What could be the problem?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Nikitin, 2015-12-03
@padla2k

If you created a new machine and slipped a vhd from the backup into it, then you have essentially generated a new "iron" environment. Your Windows in the virtual machine reinstalled the drivers on the network card, and therefore, if a static IP address was configured there, then it remained in the profile of the "old" network network, and the "new" network network is configured by default - to receive an address via DHCP. And if there is no DHCP server in this network, then the address of the virtual machine is obtained from the APIPA range (169.254.xx), otherwise the virtual machine will receive an IP from the DHCP range. Well, keeping a copy of the Windows server on the same network is not very good (if this server is included in the Active Directory domain - see the problem of duplicating the SID of computer accounts).
In my opinion, your problem lies precisely in this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question