question

AxD avatar image
0 Votes"
AxD asked AndreasBaumgarten answered

How can I revert my Azure VM to a previously saved HDD snapshot?

Working with VMs, I'm used to create snapshots before I enter a critical path, so I can later revert the VM to that snapshot in case I made a mistake.

Currently this doesn't seem possible with Azure VMs. Although there is an option to create disk snapshots, there is no option to revert the same VM back to the previously created snapshot.

How can I revert my Azure VM to a previously saved HDD snapshot?

/ref: https://feedback.azure.com/forums/34192--general-feedback/suggestions/43849002-allow-to-revert-vm-to-previously-created-os-disk-s

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

AndreasBaumgarten avatar image
0 Votes"
AndreasBaumgarten answered

Hi @AxD ,

maybe this is helpful to get started:

https://www.francoisdelport.com/2017/12/11/creating-and-restoring-azure-virtual-machine-snapshots-for-managed-disks/

Instead of the AzRm cmdlets you could use the Az cmdlets in the scripts.


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

Regards
Andreas Baumgarten

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.