New-VBRAzureLinuxRestoreAppliance
Short Description
Creates helper appliances for restoring Linux VMs to Microsoft Azure.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
New-VBRAzureLinuxRestoreAppliance -Subscription <VBRAzureSubscription> -StorageAccount <VBRAzureStorageAccount> [-ResourceGroup <VBRAzureResourceGroup>] -VirtualNetwork <VBRAzureVirtualNetwork> -VirtualSubnet <VBRAzureNetworkSubnet> [-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 the Deploy-VBRAzureLinuxRestoreApplianceDeploys or removes helper appliances for restoring Linux VMs to Microsoft Azure. cmdlet.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ResourceGroup |
Specifies the resource group to which you want to connect the helper appliance.
Accepts the |
False |
Named |
True (ByPropertyName) |
|
|
SshPort |
Specifies the port that used to connect the helper appliance. |
|
False |
Named |
True (ByPropertyName) |
|
StorageAccount |
Specifies the storage account you want to use to deploy the helper appliance.
Accepts the |
True |
Named |
True (ByPropertyName) |
|
|
Subscription |
Specifies the Microsoft Azure subscription in which you plan to deploy the helper appliance.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
VirtualNetwork |
Specifies the virtual network to which you want to connect the helper appliance.
Accepts the |
True |
Named |
True (ByPropertyName) |
|
|
VirtualSubnet |
Specifies the virtual network subnet to which you want to connect the helper appliance.
Accepts the |
True |
Named |
True (ByPropertyName) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Restoring VM to Resource Manager Account
This example shows how to restore a VM to a Resource Manager account.
|
$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 |
Perform the following steps:
- Run the
Get-VBRAzureAccountReturns Microsoft Azure accounts added to Veeam Backup & Replication. cmdlet. Set theResourceManagervalue as theTypeparameter value. Specify theNameparameter value. Save it to the$accountvariable. - Run the
Get-VBRAzureSubscriptionReturns subscriptions associated with a Microsoft Azure account. cmdlet. Set the$accountvariable as theAccountparameter value. Specify theNameparameter value. Save it to the$subscriptionvariable. - Run the
Get-VBRAzureStorageAccountReturns Microsoft Azure storage accounts available for a subscription. cmdlet. Set the$subscriptionvariable as theSubscriptionparameter value. Specify theNameparameter value. Save it to the$storageaccountvariable. - Run the
Get-VBRAzureVirtualNetworkReturns Microsoft Azure virtual networks available for a subscription. cmdlet. Set the$subscriptionvariable as theSubscriptionparameter value. Specify theNameparameter value. Save the result to the$networkvariable. - Run the
Get-VBRAzureVirtualNetworkSubnetReturns Microsoft Azure virtual network subnets available for a subscription. cmdlet. Set the$networkvariable as theNetworkparameter value. Specify theNameparameter value. Save the result to the$subnetvariable. - Run the
New-VBRAzureLinuxRestoreAppliancecmdlet. Specify the following settings:- Set the
$subscriptionvariable as theSubscriptionparameter value. - Set the
$storageaccountvariable as theStorageAccountparameter value. - Set the
$networkvariable as theVirtualNetworkparameter value. - Set the
$subnetvariable as theVirtualSubnetparameter value.
- Set the
Related Commands
Get-VBRAzureSubscriptionReturns subscriptions associated with a Microsoft Azure account.Get-VBRAzureStorageAccountReturns Microsoft Azure storage accounts available for a subscription.Get-VBRAzureVirtualNetworkReturns Microsoft Azure virtual networks available for a subscription.VBRAzureNetworkSubnet