Add-VBRAzureRestoreProxy
Short Description
Creates a proxy appliance used for restoring workloads to Microsoft Azure.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Add-VBRAzureRestoreProxy -Name <String> -Description <String> -MaxConcurrentTasks <Int32> -CredentialsId <Guid> -TrafficPort <Int32> -Subscription <VBRAzureSubscription> -Location <VBRAzureLocation> -VmSize <VBRAzureVMSize> -StorageAccount <VBRAzureStorageAccount> -ResourceGroup <VBRAzureResourceGroup> -DnsNameLabel <String> -VirtualNetwork <VBRAzureVirtualNetwork> -VirtualSubnet <VBRAzureNetworkSubnet> [-NetworkSecurityGroup <VBRNetworkSecurityGroup>] [-SkipNetworkSecurityGroup] [-Wait] [<CommonParameters>] |
Detailed Description
This cmdlet creates a Windows-based proxy appliance. You can use this proxy appliance to restore Windows-based and Linux-based workloads to Microsoft Azure.
Note |
|
When you specify a name of a restore proxy appliance, consider the following requirements:
|
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
CredentialsId |
Specifies credentials of a user that will be assigned the Local Administrator permissions on the restore proxy appliance. Note:
|
|
True |
Named |
False |
|
Description |
Specifies a description for the restore proxy appliance. |
|
True |
Named |
False |
|
DnsNameLabel |
Specifies a DNS name label for the public IP that will be created. |
|
True |
Named |
False |
|
Location |
Specifies the geographic region to which you want to place the restore proxy appliance.
Accepts the |
True |
Named |
False |
|
|
MaxConcurrentTasks |
Specifies a number of concurrent tasks that the Azure restore proxy appliance must handle in parallel. Recommended value: 4 tasks. |
|
True |
Named |
False |
|
Name |
Specifies a name for the restore proxy appliance. |
|
True |
Named |
False |
|
NetworkSecurityGroup |
Specifies the network security group for the restore proxy appliance. If you do not specify a network security group, Veeam Backup & Replication will automatically create a new group, allow RDP and SSH on it and connect network interfaces to it.
Accepts the |
|
False |
Named |
False |
|
ResourceGroup |
Specifies the resource group to which the proxy appliance must be placed.
Accepts the |
True |
Named |
False |
|
|
SkipNetworkSecurityGroup |
Defines that the cmdlet will not assign a network security group to the restore proxy appliance. |
|
False |
Named |
False |
|
StorageAccount |
Specifies the storage account you want to use to deploy the restore proxy appliance VM.
Accepts the |
True |
Named |
False |
|
|
Subscription |
Specifies the Microsoft Azure subscription whose resources you want to use to deploy the restore proxy appliance.
Accepts the |
True |
Named |
False |
|
|
TrafficPort |
Specifies a port number. The cmdlet will use this port to control components installed on the restore proxy appliance and transport workload disks data to Blob storage. Default: 443. |
|
True |
Named |
False |
|
VirtualNetwork |
Specifies a virtual network. |
True |
Named |
False |
|
|
VirtualSubnet |
Specifies the virtual network subnet to which you want to connect the restore proxy appliance.
Accepts the |
True |
Named |
False |
|
|
VmSize |
Specifies the size for the proxy appliance VM.
Accepts the |
True |
Named |
False |
|
|
Wait |
Defines that the command waits for the process to complete before accepting more input. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Creating Microsoft Azure Restore Proxy Appliance
This example shows how to create a restore proxy appliance for restoring backups to Microsoft Azure VMs
|
$account = Get-VBRAzureAccount -Name "azcomputeaccount" $subscription = Get-VBRAzureSubscription -Account $account -Name "ContosoProd" $location = Get-VBRAzureLocation -Subscription $subscription -Name "westeurope" $rg = Get-VBRAzureResourceGroup -Subscription $subscription -Name "azprx01-rg" $storage = Get-VBRAzureStorageAccount -Subscription $subscription -Name "veeamstorage01" $vnet = Get-VBRAzureVirtualNetwork -Subscription $subscription -Name "veeamvnet" $subnet = Get-VBRAzureVirtualNetworkSubnet -Network $vnet -Name "default" $vmSize = Get-VBRAzureVMSize -Subscription $subscription -Location $location -Name "Standard_F4s_v2" $creds = Add-VBRCredentials -Type "Windows" -User "veeamadmin" -Password "P@ssw0rd!" Add-VBRAzureRestoreProxy -Name "azprx01" -Description "Azure restore proxy appliance" -MaxConcurrentTasks 4 -CredentialsId $creds.Id -TrafficPort 443 -Subscription $subscription -Location $location -VmSize $vmSize -StorageAccount $storage -ResourceGroup $rg -DnsNameLabel "azprx01" -VirtualNetwork $vnet -VirtualSubnet $subnet -Wait |
Perform the following steps:
- Run the
Get-VBRAzureAccountReturns Microsoft Azure accounts added to Veeam Backup & Replication. cmdlet. Specify theNameparameter value. Save the result to the$accountvariable. - Run the
Get-VBRAzureSubscriptionReturns subscriptions associated with a Microsoft Azure account. cmdlet. Specify theAccountandNameparameters value. Save the result to the$subscriptionvariable. - Run the
Get-VBRAzureLocationReturns geographic locations of Microsoft Azure datacenters available for a subscription. cmdlet. Specify theSubscriptionandNameparameters values. Save the result to the$locationvariable. - Run the
Get-VBRAzureResourceGroupReturns Microsoft Azure resource groups available for a subscription. cmdlet. Specify theSubscriptionandNameparameters values. Save the result to the$rgvariable. - Run the
Get-VBRAzureStorageAccountReturns Microsoft Azure storage accounts available for a subscription. cmdlet. Specify theResourceGroupandNameparameters values. Save the result to the$storagevariable. - Run the
Get-VBRAzureVirtualNetworkReturns Microsoft Azure virtual networks available for a subscription. cmdlet. Specify theResourceGroupandNameparameters values. Save the result to the$vnetvariable. - Run the
Get-VBRAzureNetworkSubnetcmdlet. Specify theVirtualNetworkandNameparameters values. Save the result to the$subnetvariable. - Run the
Get-VBRAzureVMSizeReturns Microsoft Azure VM configuration options available for a subscription. cmdlet. Specify theSubscription,LocationandNameparameters values. Save the result to the$vmSizevariable. - Run the
Add-VBRCredentialsCreates credentials records. cmdlet. Specify theType,User, andPasswordparameter values. Save the result to the$credvariable. - Run the
Add-VBRAzureRestoreProxycmdlet. Specify the following settings:- Specify the
Nameparameter value. - Specify the
Descriptionparameter value. - Specify the
MaxConcurrentTasksparameter value. - Set the
$creds.Idas theCredentialsIdparameter value. - Specify the
TrafficPortparameter value. - Set the
$subscriptionas theSubscriptionparameter value. - Set the
$locationas theLocationparameter value. - Set the
$vmSizeas theVmSizeparameter value. - Set the
$storageas theStorageAccountparameter value. - Set the
$rgas theResourceGroupparameter value. - Specify the
DnsNameLabelparameter value. - Set the
$vnetas theVirtualNetworkparameter value. - Set the
$subnetas theVirtualSubnetparameter value. - Provide the
Waitparameter.
- Specify the
Related Commands
Get-VBRAzureSubscriptionReturns subscriptions associated with a Microsoft Azure account.Get-VBRAzureLocationReturns geographic locations of Microsoft Azure datacenters available for a subscription.Get-VBRAzureResourceGroupReturns Microsoft Azure resource groups available for a subscription.Get-VBRAzureStorageAccountReturns Microsoft Azure storage accounts available for a subscription.Get-VBRAzureVirtualNetworkReturns Microsoft Azure virtual networks available for a subscription.Get-VBRAzureVMSizeReturns Microsoft Azure VM configuration options available for a subscription.