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;
- Run the Get-VBRAzureBlobAccount cmdlet. Specify the Name parameter value. Save the result to the $account variable.
- 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.
- Run the Get-VBRAzureBlobContainer cmdlet. Set the $connect variable as the Connection parameter value. Save the result to the $connect variable.
- 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.
- 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