Explain me the concept of staging location.

Khushi Gupta 6 Reputation points
2022-07-20T07:30:06.15+00:00

What it is and why do we need it?

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

2 answers

Sort by: Most helpful
  1. Prrudram-MSFT 28,286 Reputation points Microsoft Employee Moderator
    2022-07-24T18:19:35.297+00:00

    Hello @Khushi Gupta ,

    In addition to what @Cristian SPIRIDON has wrote, if you are referring to the azure VM restores method in the question, then staging location is used in replace existing disks on the VM type of restore. During restore, azure backup service replaces existing disks on the original VM with the restored disks. Azure Backup takes a snapshot of the existing VM before replacing the disk and stores it in the staging location you specify. Existing disks connected to the VM are replaced with the selected restore point.

    The snapshot is also copied to the Recovery Services vault through data transfer, as a background process. However, once the snapshot phase is completed, the replace disks operation is triggered. After the replace disk operation, the disks of the source Azure VM are left in the specified Resource group for your operation and the VHDs are stored in the specified storage account. You can choose to delete or retain these VHDs and disks.

    For more details you can refer to the following link, https://learn.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms

    --please don't forget to upvote and accept as answer if the reply is helpful--

    2 people found this answer helpful.
    0 comments No comments

  2. Cristian SPIRIDON 4,486 Reputation points Volunteer Moderator
    2022-07-24T09:46:44.063+00:00

    Hi @Khushi Gupta ,

    The staging location in Restore VM is used as a safety measure. Azure will copy the existing disk data before restoring the VM and you can use that data at a later time if needed.

    Hope this helps!

    1 person found this answer helpful.
    0 comments No comments

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.