Search This Blog

Sunday, February 1, 2015

Backup Azure Virtual Machine Configuration

 

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.

Get-AzureVM

1

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

2

image

[XML result]

<?xml version="1.0" encoding="utf-8"?>
<PersistentVM xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ConfigurationSets>
    <ConfigurationSet xsi:type="NetworkConfigurationSet">
      <ConfigurationSetType>NetworkConfiguration</ConfigurationSetType>
      <InputEndpoints>
        <InputEndpoint>
          <LocalPort>5986</LocalPort>
          <Name>PowerShell</Name>
          <Port>5986</Port>
          <Protocol>tcp</Protocol>
          <EnableDirectServerReturn>false</EnableDirectServerReturn>
          <IdleTimeoutInMinutes xsi:nil="true" />
        </InputEndpoint>
        <InputEndpoint>
          <LocalPort>3389</LocalPort>
          <Name>Remote Desktop</Name>
          <Port>64669</Port>
          <Protocol>tcp</Protocol>
          <EnableDirectServerReturn>false</EnableDirectServerReturn>
          <IdleTimeoutInMinutes xsi:nil="true" />
        </InputEndpoint>
      </InputEndpoints>
      <SubnetNames>
        <string>App</string>
      </SubnetNames>
      <PublicIPs />
      <NetworkInterfaces />
    </ConfigurationSet>
  </ConfigurationSets>
  <DataVirtualHardDisks />
  <OSVirtualHardDisk>
    <HostCaching>ReadWrite</HostCaching>
    <DiskLabel>disk_vmware-vm1_00_os.vhd</DiskLabel>
    <DiskName>disk_vmware-vm1_00_os.vhd</DiskName>
    <OS>Windows</OS>
    <IOType>Standard</IOType>
  </OSVirtualHardDisk>
  <RoleName>TestBackup01</RoleName>
  <RoleSize>Basic_A1</RoleSize>
  <RoleType>PersistentVMRole</RoleType>
  <NoExportPrivateKey>false</NoExportPrivateKey>
  <NoRDPEndpoint>false</NoRDPEndpoint>
  <NoSSHEndpoint>false</NoSSHEndpoint>
  <ProvisionGuestAgent>true</ProvisionGuestAgent>
  <ResourceExtensionReferences>
    <ResourceExtensionReference>
      <ReferenceName>BGInfo</ReferenceName>
      <Publisher>Microsoft.Compute</Publisher>
      <Name>BGInfo</Name>
      <Version>1.*</Version>
      <ResourceExtensionParameterValues />
      <State>Enable</State>
    </ResourceExtensionReference>
  </ResourceExtensionReferences>
</PersistentVM>

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

More information:-

4 comments:

  1. That lettering at the certificate is without a doubt fake omega watches embossed lettering which will reared, crisply made, and even readily discernable with the perspective additionally, the look to a children's finger. End up flexible type, to somewhat of a time -- Don't forget that you will find a tremendous aftermarket designed for designing unique and even pre-owned Rolexes with the intention that keepers can certainly make a lot of these wonderful cartier replica uniquely their own individual. In cases where in your look up just the right pre-owned Rolex you come across a few units that can be highly approximately everything that you need, though don't have any that one labeling include which will pronounces, 'This the initial one is the application! ', it is easy to normally order you and even consult with an important jewelry salesman just who focuses designing Rolexes. Some people accomodate the actual most interesting gemstones and even silver and gold coins allowing it to convert an important pre-owned Rolex to help you rado replica watches personalised to speak about ones own style. Comprehend that jeweler's commitments? Professional resellers in unique pre-owned Rolex running watches have that commitments on their swap highly honestly. They will likely put in that hard work to help make hublot replica sale that many Rolex wrist watch some people put up for sale open for appropriate earning a living state to guard ones own history and even competent dependability. This implies good maintaining and even polishing belonging to the over-all sit back and watch, even a full regime in fake omega watches and even renovation practices organized as a result of Rolex, additionally, the conceivable renewal belonging to the gold (this is often non-compulsory).

    ReplyDelete
  2. Love to read it,Waiting For More new Update and I Already Read your Recent Post its Great Thanks. best vpn

    ReplyDelete
  3. The post is written in very a good manner and it contains many useful information for me. China VPN

    ReplyDelete