You can restore to Resource Manager and to Classic accounts. Select the appropriate parameter set for each account model.

Important!

You must select the Microsoft Azure configuration options that supports the VM you restore. For example, if you restore a VM that has 4 disks, select an Azure VM configuration option that supports 4 or more disks.

Parameters

Parameter

Description

Required

Position

AcceptPipelineInput

AcceptWildcardCharacters

RestorePoint

Specifies the restore point of the backup you want to restore to Microsoft Azure.

True

Named

True (ByValue,ByPropertyName)

False

Subscription

Specifies the Microsoft Azure subscription. The cmdlet will restore the backup to this subscription.

True

Named

False

False

StorageAccount

Specifies the Microsoft Azure storage account. The restored VM will use this storage account.

True

Named

False

False

VmSize

Specifies the Microsoft Azure VM configuration option. The VM will use this configuration template.

True

Named

False

False

VirtualNetwork

Specifies the Microsoft Azure virtual network. The restored VM will be connected to this network.

For Resource Manager model: True

For Classic model: False

Named

False

False

VirtualSubnet

Specifies the Microsoft Azure virtual subnet. The restored VM will be connected to this subnet.

For Resource Manager model: True

For Classic model: False

Named

False

False

ResourceGroup

For Microsoft Azure Resource Manager accounts.

Specifies the Microsoft Azure resource group. The restored VM will use this restore group.

If you skip this parameter, the cmdlet will need to create a new resource group. Use the NewResourceGroupName parameter to create a new resource group. The new resource group is created with default resources.

False

Named

False

False

NewResourceGroupName

For Microsoft Azure Resource Manager accounts.

Specifies the name of a new resource group. The cmdlet will create a new resource group with this name.

If you skip this parameter, use the ResourceGroup parameter to specify an existing resource group.

False

Named

False

False

DisksToExclude

Specifies the array of VM disk file names. Use this parameter to specify the VM disks that you want to exclude. The cmdlet will not restore these disks.

False

Named

False

False

VmName

Specifies the VM name. The restored VM will have this name.

If you do not specify a new name, the restored VM will have it's original name.

False

Named

False

False

Reason

Specifies the reason for performing restore.

False

Named

False

False

GatewayServer

Specifies the gateway server. The restore process will use this server to transfer the VM data to the Microsoft Azure datacenter.

If you skip this parameter, the restore process will use Veeam backup server as a gateway server.

False

Named

False

False

Credentials

For restoring backups located on a network shared folder.

Specifies the credentials to authenticate with the network shared folder.

False

Named

False

False

Wait

Indicates that the command waits for the process to complete before accepting more input.

False

Named

False

False

CloudService

For Microsoft Azure Classic accounts.

Specifies the existing cloud service. The restored VM will be added to this cloud service.

If you skip this parameter, the cmdlet will create a new cloud service for the restored VM. Use the DNSName parameter to set the name for the new cloud service.

False

Named

False

False

DNSName

For Microsoft Azure Classic accounts.

Specifies the name of the new cloud service.

If you skip this parameter, use the CloudService parameter to place the restored VM to an existing cloud service.

False

Named

False

False

Endpoint

For Microsoft Azure Classic accounts.

Specifies the port number. This port will be used to connect to the restored VM.

If you skip this parameter, the cmdlet will use the default port numbers:

Get the restore point of the Veeam backup you want to restore. Run Get-VBRRestorePoint and save the result to the $restorepoint variable.

Get the Microsoft Azure subscription. Run Get-VBRAzureAccount to get the Microsoft Azure account. Save it to the $account variable. Run Get-VBRAzureSubscription using the $account variable to get the subscription. Save it to the $suscription variable.

Get the Microsoft Azure VM configuration. Run Get-VBRAzureLocation to get the location of the Microsoft Azure datacenter. Save it to the $location variable. Run Get-VBRAzureVMSize using the $location variable. Save it to the $vmsize variable.

Get the restore point of the Veeam backup you want to restore. Run Get-VBRRestorePoint and save the result to the $restorepoint variable.

Get the Microsoft Azure subscription. Run Get-VBRAzureAccount to get the Microsoft Azure account. Save it to the $account variable. Run Get-VBRAzureSubscription using the $account variable to get the subscription. Save it to the $suscription variable.

Get the Microsoft Azure VM configuration. Run Get-VBRAzureLocation to get the location of the Microsoft Azure datacenter. Save it to the $location variable. Run Get-VBRAzureVMSize using the $location variable. Save it to the $vmsize variable.

Run Get-VBRAzureVMSize to get the Microsoft Azure VM configuration. Save it to the $vmsize variable.