简体   繁体   中英

Azure - VM snapshot restore

On hyper-v VM snapshots are easy to work with - you create it, make any changes you want, run a revert snapshot and that's it, VM is back to the snapshot state.

I want to understand if Azure has this as well? All I'm reading is around New-AzureRmSnapshot cmdlet, but I don't see a basic revert scenario. From what I found, it's all about restoring snapshot to a new vm and other scenarios, but I want a simply revert of an azure vm and be done.

Thank you for any pointers!

From what I found, it's all about restoring snapshot to a new vm and other scenarios,

You are right, restore Azure VM snapshot works as restore data to new disk then use this disk to create a new VM.

For now, Azure does not support restore snapshot like hyper-V.

As a workaround, after new VM created, you can stop original VM, then change the IP address to the old one, in this way, you can use this new VM.

This is a duplicate of How to revert an azure disk back to its former snapshot?

I added my answer there, describing how to do it with Azure PowerShell.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM