Add-VBRAzureBlobServer

Short Description

Adds Microsoft Azure Blob storage as unstructured data source to the inventory.

Note

This cmdlet is available starting from Veeam Backup & Replication 12.1 (build 12.1.0.2131).

Applies to

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

Syntax

Add-VBRAzureBlobServer -FriendlyName <string> -Account <VBRAzureBlobAccount> -RegionType {Global | China | Government} -CacheRepository <CBackupRepository> [-ProxyMode {Automatic | SelectedProxy}] [-SelectedProxyServer  <VBRNASProxyServer[]>] [-BackupIOControlLevel <VBRUnstructuredBackupIOControlLevel> {Lowest | Low | Medium | High | Highest}]  [<CommonParameters>]

Detailed Description

This cmdlet adds Microsoft Azure Blob storage as unstructured data source to the inventory.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

FriendlyName

Specify a name that you want to assign to the object storage.

String

True

Named

True (ByValue)

Account

Specifies Microsoft Azure Blob credentials records.The cmdlet will use these credentials record to connect to object storage.

Accepts the VBRAzureBlobAccount object. To get this object, run the Get-VBRAzureBlobAccount cmdlet.

True

Named

False

RegionType

Specifies the region type of Microsoft Azure Blob storage. The cmdlet will connect to the selected region type and will set up a connection with Microsoft Azure Blob storage. You can select the following types of regions:

  • Global
  • Government
  • China

VBRAzureBlobRegionType

True

Named

False

CacheRepository

Specifies the cache repository. Veeam Backup & Replication will keep the .VCACHE files on this repository.

Accepts the CBackupRepository object. To get this object, run the Get-VBRBackupRepository cmdlet.

False

Named

False

ProxyMode

Specifies the backup proxy options.

  • Automatic: use this option if you want Veeam Backup & Replication to choose the backup proxy that will process object storage.
  • SelectedProxy: use this option if you want to specify the backup proxy that will process object storage.
    Use the SelectedProxyServer parameter to specify the backup proxy.

VBRNASProxyMode

False

Named

False

SelectedProxyServer

For the SelectedProxy option of the ProxyMode parameter.

Specifies the backup proxy. Veeam Backup & Replication will use this backup proxy to back up Microsoft Azure Blob object storage.

Accepts the VBRNASProxyServer[] object. To get this object, run the Get-VBRNASProxyServer cmdlet.

False

Named

False

BackupIOControlLevel

Specifies a speed that Veeam Backup & Replication will use to read data from object storage. You can specify either of the following speed:

  • Lowest
  • Low
  • Medium
  • High
  • Highest

VBRUnstructuredBackupIOControlLevel

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

The cmdlet returns the VBRAzureBlobServer object that contains settings of Microsoft Azure Blob storage as unstructured data source.

Examples

Adding Microsoft Azure Blob as Unstructured Data Source

This example shows how to add Microsoft Azure Blob as unstructured data source to the inventory.

$creds = Add-VBRAzureBlobAccount -Name "string" -SharedKey "string”

$cacherepository = Get-VBRBackupRepository -Name "WinSrv"

Add-VBRAzureBlobServer -FriendlyName "Azure Blob" -Account $creds -RegionType Global -CacheRepository $cacherepository

Perform the following steps:

  1. Run the Add-VBRAzureBlobAccount cmdlet. Specify the Name and the SharedKey parameters values. Save the result to the $creds variable.
  2. Run the Get-VBRBackupRepository cmdlet. Specify the Name parameter value. Save the result to the $cacherepository variable.
  3. Run the Add-VBRAzureBlobServer cmdlet. Specify the following settings:
  • Specify the FriendlyName parameter value.
  • Set the $creds variable as the Account parameter value.
  • Specify the RegionType parameter value.
  • Set the $cacherepository variable as the CacheRepository parameter value.

Related Commands