An OS disk created from VM1, Attach to VM2 as Data disk, both same OS

Neeraj Saxena 26 Reputation points
2022-09-16T12:27:10+00:00

I lost access to a VM, hosting SQL server, created a snapshot from the disk and wish to mount/attach to another VM, so that I can copy data from it.
Source OS and Target OS, both are windows. VM size are same.

Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
628 questions
0 comments No comments
{count} vote

Accepted answer
  1. Olga Os - MSFT 5,921 Reputation points Microsoft Employee
    2022-09-17T00:34:54.207+00:00

    Hello @Neeraj Saxena ,

    Welcome to the MS Q&A forum.

    I am sorry to hear you lost access to your VM.
    As I understand you are looking for the steps to recover data from the non-recoverable VM.

    To accomplish it, you need:

    1) Take a snapshot of the OS disk of the affected VM as a backup. For more information, see Snapshot a disk.
    2) Attach the OS disk to a recovery VM.
    3) Once the OS disk is attached on the recovery VM, run diskmgmt.msc to open Disk Management, and ensure the attached disk is ONLINE.

    I hope above steps should help you resolve the issue. Please contact me if you have any further questions with the troubleshooting.


    Let us know if you need additional assistance. If the answer was helpful, please accept it and complete the quality survey so that others can find a solution.

    Sincerely,
    Olga Os

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.