Add-VBRAzureBlobServer
Short Description
Adds Microsoft Azure Blob storage as unstructured data source to the inventory.
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:
| 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.
| 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:
| 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:
- Run the Add-VBRAzureBlobAccount cmdlet. Specify the Name and the SharedKey parameters values. Save the result to the $creds variable.
- Run the Get-VBRBackupRepository cmdlet. Specify the Name parameter value. Save the result to the $cacherepository variable.
- Run the Add-VBRAzureBlobServer cmdlet. Specify the following settings:
- Specify the FriendlyName parameter value.
- Set the $creds variable as the Account parameter value.
- Set the Global option for the RegionType parameter.
- Set the $cacherepository variable as the CacheRepository parameter value.
Related Commands