
Add-VBRAzureBlobRepository
Short Description
Adds Azure Blob object storage repository to Veeam Backup & Replication.
Applies to
Platform: VMware, Hyper-V
Product Edition: Enterprise, Enterprise Plus
Syntax
Add-VBRAzureBlobRepository -AzureBlobFolder <VBRAzureBlobFolder> -Connection <VBRAzureBlobConnection> [-Name <string>] [-Description <string>] [-EnableSizeLimit] [-SizeLimit <int>] [<CommonParameters>] |
Detailed Description
This cmdlet adds Azure Blob object storage repository to Veeam Backup & Replication.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
AzureBlobFolder | Specifies an Azure Blob folder. The cmdlet will move the backup files to the specified folder. Accepts the VBRAzureBlobFolder type. | True | Named | True (ByValue) |
|
Connection | Specifies an active session with Azure Blob storage that you want to add as the backup repository. Accepts the VBRAzureBlobConnection type. | True | Named | False |
|
Name | Specifies a name of an object storage. The cmdlet will add Azure Blob storage to Veeam Backup & Replication with this name. | False | Named | False |
|
Description | Specifies a description of Azure Blob storage. The cmdlet will add Azure Blob storage to Veeam Backup & Replication with this description. | False | Named | False |
|
EnableSizeLimit | Indicates that the cmdlet will enable size limits for an Azure Blob storage that you want to add as a backup repository. Use the SizeLimit parameter to specify the size limits. | False | Named | False |
|
SizeLimit | For the EnableSizeLimit parameter. Specifies size limits in GB for data blocks that you want to store in Azure Blob storage added as an object storage repository. Permitted value: 1024 - 1073741824. Default: 10240. | 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.
Return Type
Example
This example shows how to add an Azure Blob storage as an object storage repository to Veeam Backup & Replication.
- Run Get-VBRAzureBlobAccount get an Azure Blob credentials record. Save the result to the $account variable.
- Run Connect-VBRAzureBlobService with the $account variable to connect to Azure Blob storage. Save the result to the $connect variable.
- Run Get-VBRAzureBlobContainer with the $connection variable to get an Azure Blob container. Save the result to the $container variable.
- Run Get-VBRAzureBlobFolder with the $container and the $connect variables to get an Azure Blob folder. Save the result to the $folder variable.
- Run Add-VBRAzureBlobRepository with the $folder and $connection variables.
$account = Get-VBRAzureBlobAccount -Name "Azure Blob" $connect = Connect-VBRAzureBlobService -Account $account -RegionType Global $container = Get-VBRAzureBlobContainer -Connection $connect $folder = Get-VBRAzureBlobFolder -Container $container -Connection $connect Add-VBRAzureBlobRepository -AzureBlobFolder $folder -Connection $connect |
Related Commands