![]() 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. Assign the right disk to your VM.Microsoft Azure is a great platform to host Virtual Machines. Once you created the new disk from the snapshot, assign it to the VM (Must be deallocated) Click on swap OS Diskħ. Create from snapshot like in the example image below Select the right snapshot as determined at point 1Ħ. Create the managed disk Click on createĥ. ![]() Add a new Managed disk Click on Add to add a manged disk from Azure marketĤ. Determine the snapshot you want to use for restore Ensure your snapshot is availableĢ. If you need to create a snapshot, just go to the disk and click on “Create snapshot” Click on create snapshotġ. You can create a snapshot from an existing disk, even being up and running on a VM. ![]() On a LAB or even a production environment, it can be useful to restore the system with a snapshot if something goes wrong.ĭespite you can use Azure backup or site recovery for this, Azure is offering a simple feature called “Snapshot”. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |