Is there a way we can take Snapshot of VM disk on daily/weekly basis like Azure backup automatically?

Rajan Gahlout 46 Reputation points
2022-09-20T15:43:19.81+00:00

Is there a way we can take Snapshot of VM disk on daily/weekly basis like Azure backup automatically.

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

Accepted answer
  1. kobulloc-MSFT 26,366 Reputation points Microsoft Employee
    2022-09-20T17:01:44.867+00:00

    Hello, @Rajan Gahlout !

    How do I automatically take disk snapshots of a VM for backup?
    This functionality is not included by default in Azure, but you can set this up using Azure Automation Runbooks. Here are 3 guides you can reference that will walk you through the process. The Yst@IT blog on top is the most recent with a lot of screenshots and PowerShell scripts that are easy to follow along:

    The process includes creating a Runbook (PowerShell), adding a PowerShell script that takes a snapshot with something like New-AzSnapshot and create a disk using New-AzDisk, and creating a schedule for when you want the automation to be run.

    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.