Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

New-VBRAzureLinuxRestoreAppliance

Short Description

Creates 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 appliance for restoring Linux VMs to Microsoft Azure.

You will need to further deploy the 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 appliance.

True

Named

True (ByValue,
ByProperty
Name)

False

StorageAccount

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

True

Named

True (ByProperty
Name)

False

VirtualNetwork

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

True

Named

True (ByProperty
Name)

False

VirtualSubnet

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

True

Named

True (ByProperty
Name)

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

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.

PS C:\PS> $account = Get-VBRAzureAccount -Type ResourceManager -Name "RestoreToAzureRM@Veeam.com"

PS C:\PS> $subscription = Get-VBRAzureSubscription -Account $account -Name "VeeamDirectRestore2Azure"

PS C:\PS> $storageaccount = Get-VBRAzureStorageAccount -Subscription $subscription -Name "VeeamDirectRestore2AzureStorage"

PS C:\PS> $network = Get-VBRAzureVirtualNetwork -Subscription $subscription -Name "VeeamInternalNetwork"

PS C:\PS> $subnet = Get-VBRAzureVirtualNetworkSubnet -Network $network -Name "VeeamInternalSubnet"

PS C:\PS> New-VBRAzureLinuxRestoreAppliance -Subscription $subscription -StorageAccount $storageaccount -VirtualNetwork $network -VirtualSubnet $subnet

Related Commands

Get-VBRAzureSubscription

Get-VBRAzureStorageAccount

Get-VBRAzureVirtualNetwork

VBRAzureNetworkSubnet

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation