question

sakuraime avatar image
0 Votes"
sakuraime asked LeonLaude commented

Restoring a Azure VM from backup

Suppose I have an Azure VM COMPUTERA which is joined to a domain . I have a VM backup of COMPUTERA using Azure recovery service vault.
I would like to restore this backup as COMPUTERB . Are there any proper procedure so that the computer name won't collide at domain level during the restored COMPUTERB startup ?(COMPUTERB still having a hostname COMPUTERA).

azure-backup
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LeonLaude avatar image
0 Votes"
LeonLaude answered LeonLaude commented

Hi @sakuraime,

Edit: It is only possible to change the name of the Azure VM itself, not the name within the operating system.



If the reply was helpful please don't forget to upvote and/or accept as answer, thank you!


Best regards,
Leon

· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

this is just the name of the Azure VM , the windows hostname is still the same .

0 Votes 0 ·

Yes correct (modified my initial answer), if you want to change the name within the operating system you cannot do this with Azure Backup.

You could however script this, but either way once you restore the VM it should be restored either to a DMZ zone, or without a network adapter to avoid any collisions in Active Directory, then change the name and after that you may change the network settings.

0 Votes 0 ·

thanks , and what about the Azure VM was in a windows failover cluster for SQL always-on ?

0 Votes 0 ·
Show more comments

so in this case when the restored VM startup , it will collide the hostname with the old one.

0 Votes 0 ·