How can i get my data stored in the temporary disks in the vm where vm stopped working?

Kaushal 21 Reputation points
2021-01-25T07:08:09.243+00:00

Everytime from the last three days when i open the vm it works for only 10 to 15 sec and then after it stops accidently i tried it restart but the process is same it stops working

i just want to get the whole data of the 2 disks that are attached to the vm to my mega.nz account so that i can create a new vm and load the same data

i tried resizing but it doesnt worked i tried to restore the vm but it says validation failure and says you have exhausted the usage and quota f number of core use

provide me a way to get the whole data to my mega account

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,013 questions
0 comments No comments
{count} votes

Accepted answer
  1. ChristopherW-MSFT 1,681 Reputation points
    2021-01-25T20:34:14.973+00:00

    Hi @Kaushal ,

    Please keep in mind that Stopping, Resizing, or Restarting a Virtual Machine can clear the Temporary Disk. Temporary Disks should only be used for temporary data collection, or storage for brief transmission, and paging - Knowing that the data can be cleared at any moment. https://learn.microsoft.com/en-us/azure/virtual-machines/managed-disks-overview#temporary-disk

    If your Virtual Machine isn't starting and you just want to recover the Disks, then deleting the Virtual Machine does NOT delete the Disks, they will stay in your Resource Group. Though you can also create 'Snapshots' of them to create a backup Disk out of.

    Once you have these Disks, you can attach them to a new Virtual Machine as Data Disks to recover the data - You may want to attach the Backup OS Disk after the VM boots, or this can cause the VM to stall as you have no easy way to choose boot drives.
    Attach a Managed Disk: https://learn.microsoft.com/en-us/azure/virtual-machines/windows/attach-managed-disk-portal

    The Quota error you're seeing is because the Region, or Subscription has hit the Core Quota limit - You can request to increase this, delete a VM, or resize a VM down to reduce your total Core count.
    Increase Quota: https://learn.microsoft.com/en-us/azure/azure-portal/supportability/per-vm-quota-requests

    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.