Apply snapshot to existing VMĮnter option 3 to select the snapshot to apply to an existing VM. It will tell you the origin of the snapshot. The tags of the Snapshot object are added for reference. In this screenshot you see the Azure Snapshot objects. The snapshot is now taken, info about the process is displayed on the PowerShell console. Select the VM from which you want to create disk snapshots, and click OK. DOWNLOADĭownload the script here: AzVMSnapshotMgr_v3.zip Start the script and connect to Azure.įirst you need to login to Azure and select the Azure Subscription.Īpprove any MFA protection you have in place.Īfter this step, restart the script. Creating new Azure resources can increase costs on you Azure bill. Use of this script is at your own risk and responsibility: This script creates disk snapshots, attach and detach disks to new or existing VMs. If you have any suggestions or questions please check the About button on the site and let me know! DISCLAIMER I have developed this script in a few iterations and I believe this version is ready to go into the wild. Also it allows you to apply the snapshot on any existing VM in the same region, but also create a new VM based of the selected snapshot. This PowerShell based tool makes it a lot easier for you to create snapshots of all disks in one run. That is where Azure Snapshot Manager comes in. Don’t even mention about putting the snapshot back in the VM. And for every disk it asks how you want to call it. If a Virtual Machine has multiple disks you have to create the snapshot for every disk. Since some time now you can create disk snapshots per disk. What native Azure doesn’t have is a good snapshot/checkpoint manager like Hyper-V does. Microsoft Azure is a great platform to host Virtual Machines.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |