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
Syntax
New-VBRAzureLinuxRestoreAppliance -Subscription <VBRAzureSubscription> -StorageAccount <VBRAzureStorageAccount> -VirtualNetwork <VBRAzureVirtualNetwork> -VirtualSubnet <VBRAzureNetworkSubnet> [<CommonParameters>] |
Detailed Description
This cmdlet creates an 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 | Accept |
Subscription | Specifies the Microsoft Azure subscription in which you plan to deploy the helper appliance. | True | Named | True (ByValue, | False |
StorageAccount | Specifies the storage account you want to use to deploy the helper appliance. | True | Named | True (ByProperty | False |
VirtualNetwork | Specifies the virtual network to which you want to connect the helper appliance. | True | Named | True (ByProperty | False |
VirtualSubnet | Specifies the virtual network subnet to which you want to connect the helper appliance. | True | Named | True (ByProperty | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Return Type
Example
This example shows how to restore a VM to a Resource Manager account:
- 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 storage account. Run Get-VBRAzureStorageAccount and save it to the $storageaccount variable.
- Get the Microsoft Azure virtual network. Run Get-VBRAzureVirtualNetwork and save the result to the $network variable.
- Get the Microsoft Azure virtual network subnet. Run Get-VBRAzureVirtualNetworkSubnet and save the result to the $subnet variable.
- 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