This is an archive version of the document. To get the most up-to-date information, see the current version.

New-VBRAzureLinuxRestoreAppliance

Short Description

Creates helper appliances for restoring Linux VMs to Microsoft Azure.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

New-VBRAzureLinuxRestoreAppliance -Subscription <VBRAzureSubscription> -StorageAccount <VBRAzureStorageAccount> -VirtualNetwork <VBRAzureVirtualNetwork> -VirtualSubnet <VBRAzureNetworkSubnet> [-ResourceGroup <VBRAzureResourceGroup>] [-SshPort <Int32>] [<CommonParameters>]

Detailed Description

This cmdlet creates a helper appliance for restoring Linux VMs to Microsoft Azure.

You will need to further deploy the helper appliance with Deploy-VBRAzureLinuxRestoreAppliance.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Subscription

Specifies the Microsoft Azure subscription in which you plan to deploy the helper appliance.

True

Named

True (ByValue,
ByProperty
Name)

False

StorageAccount

Specifies the storage account you want to use to deploy the helper appliance.

True

Named

True (ByProperty
Name)

False

VirtualNetwork

Specifies the virtual network to which you want to connect the helper appliance.

True

Named

True (ByProperty
Name)

False

VirtualSubnet

Specifies the virtual network subnet to which you want to connect the helper appliance.

True

Named

True (ByProperty
Name)

False

ResourceGroup

Specifies the resource group to which you want to connect the helper appliance.

False

Named

True (ByProperty
Name)

False

SshPort

Specifies the port that used to connect the helper appliance.

False

Named

True (ByProperty
Name)

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Return Type

VBRAzureLinuxRestoreAppliance

Example

This example shows how to restore a VM to a Resource Manager account:

  1. 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.
  2. Get the Microsoft Azure storage account. Run Get-VBRAzureStorageAccount and save it to the $storageaccount variable.
  3. Get the Microsoft Azure virtual network. Run Get-VBRAzureVirtualNetwork and save the result to the $network variable.
  4. Get the Microsoft Azure virtual network subnet. Run Get-VBRAzureVirtualNetworkSubnet and save the result to the $subnet variable.
  5. Run New-VBRAzureLinuxRestoreAppliance. Use the saved variables.

$account = Get-VBRAzureAccount -Type ResourceManager -Name "RestoreToAzureRM@Veeam.com"

$subscription = Get-VBRAzureSubscription -Account $account -Name "VeeamDirectRestore2Azure"

$storageaccount = Get-VBRAzureStorageAccount -Subscription $subscription -Name "VeeamDirectRestore2AzureStorage"

$network = Get-VBRAzureVirtualNetwork -Subscription $subscription -Name "VeeamInternalNetwork"

$subnet = Get-VBRAzureVirtualNetworkSubnet -Network $network -Name "VeeamInternalSubnet"

New-VBRAzureLinuxRestoreAppliance -Subscription $subscription -StorageAccount $storageaccount -VirtualNetwork $network -VirtualSubnet $subnet

Related Commands

Get-VBRAzureSubscription

Get-VBRAzureStorageAccount

Get-VBRAzureVirtualNetwork

VBRAzureNetworkSubnet