Previously we have configure blob snapshot to backup virtual disk on Azure. Blob Snapshot did not backup the VM configuration. To do so, we need to use Export-AzureVM cmdlet.
[ Configuration ]
Get azure vm list and identify your virtual machine service name and name.
Backup VM Configuration file and store at your local computer either when VM in power off state or running state.
|Export-AzureVM –ServiceName “VM Service Name” –Name “VM Name” –Path E:\vmname.xml|
<?xml version="1.0" encoding="utf-8"?>
Do keep the XML file in safe location and may come handy when restoration. Stay tuned for our next post about virtual disk restoration and configuration file