This is an archive version of the document. To get the most up-to-date information, see the current version.

Add-VBRAzureDataBoxRepository

Short Description

Adds Azure Data Box storage as an object storage repository to Veeam Backup & Replication.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

Add-VBRAzureDataBoxRepository -AzureBlobFolder <VBRAzureBlobFolder> -Connection <VBRAzureDataBoxConnection> [-Name <string>] [-Description <string>]  [<CommonParameters>]

Detailed Description

This cmdlet adds Azure Data Box storage as an object storage repository to the Veeam Backup & Replication infrastructure.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

AzureBlobFolder

Specifies an Azure Data Box folder. The cmdlet will move the backup files to the specified folder.

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

True

Named

True (ByValue)

Connection

Specifies an active session with Azure Data Box storage that you want to add as the backup repository.

Accepts the VBRAzureDataBoxConnection object. To create this object, run the Connect-VBRAzureDataBoxService cmdlet.

True

Named

False

Name

Specifies a name of Azure Data Box storage. The cmdlet will add Azure Data Box storage to Veeam Backup & Replication with this name.

String

False

Named

False

Description

Specifies a description of Azure Data Box storage. The cmdlet will add Azure Data Box storage to Veeam Backup & Replication with this description.

String

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Output Object

This cmdlet returns the VBRAzureDataBoxRepository object that contains settings of Azure Data Box storage added as an object storage repository to Veeam Backup & Replication.

Examples

Adding Azure Data Box Storage

This example shows how to add the DataBox 009 Azure Data Box storage as an object storage repository to the Veeam Backup & Replication infrastructure.

$account = Get-VBRAzureBlobAccount -Name "Azure Blob"

$connect = Connect-VBRAzureDataBoxService  -Account $account -RegionType Global

$container = Get-VBRAzureBlobContainer -Connection $connect

$folder = Get-VBRAzureBlobFolder -Container $Container -Connection $connect

Add-VBRAzureDataBoxRepository -AzureBlobFolder $folder -Connection $connect -Name "DataBox 009"

Perform the following steps;

  1. Run the Get-VBRAzureBlobAccount cmdlet. Specify the Name parameter value. Save the result to the $account variable.
  2. Run the Connect-VBRAzureBlobService cmdlet. Set the $account variable as the Account parameter value. Specify the RegionType parameter value. Save the result to the $connect variable.
  3. Run the Get-VBRAzureBlobContainer cmdlet. Set the $connect variable as the Connection parameter value. Save the result to the $connect variable.
  4. Run the Get-VBRAzureBlobFolder cmdlet. Set the $container variable as the Container parameter value. Set the $connect variable as the Connection parameter value. Save the result to the $folder variable.
  5. Run the Add-VBRAzureDataBoxRepository cmdlet. Specify the following settings:
  • Set the $folder variable as the AzureBlobFolder parameter value.
  • Set the $connect variable as the Connection parameter value.
  • Specify the Name parameter value.

Related Commands