Set-VBRAzureBlobRepository

Short Description

Modifies Azure Blob storage added as a backup repository.

Applies to

Platform: VMware, Hyper-V

Product Edition:  Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Set-VBRAzureBlobRepository -Repository <VBRAzureBlobRepository> [-Name <string>] [-Description <string>][-UseGatewayServer] [-GatewayServer <CHost>] [-EnableSizeLimit] [-SizeLimit <int>]  [<CommonParameters>]

Detailed Description

This cmdlet modifies settings for an Azure Blob storage added as a backup repository to Veeam Backup & Replication.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Repository

Specifies an Azure Blob storage that you want to modify.

Accepts the VBRAzureBlobRepository type.

True

Named

True (ByValue)

Name

Specifies a name for Azure Blob storage.

False

Named

False

Description

Specifies a description of Azure Blob storage.

False

Named

False

UseGatewayServer

Indicates that cmdlet will use a gateway server to access an Azure Blob storage.

False

Named

False

GatewayServer

Specifies a gateway server that you want to use to access an Azure Blob storage.

False

Named

False

EnableSizeLimit

Indicates that the cmdlet will enable size limits for data blocks that you want to store in 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 a backup 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 modify settings for a existing Azure Blob storage added as a backup repository. The cmdlet will use a custom gateway server to connect to Azure Blob storage.

  1. Run Get-VBRObjectStorageRepository to get an Azure Blob storage added as a backup repository. Save the result to the $azure variable.
  2. Run Get-VBRServer with the name parameter to get a server that you want to use as a gateway. Save the result to the $gateserv variable.
  3. Run Set-VBRAzureBlobRepository with the $amazon and $gateserv variables. Use the UseGatewayServer variable to enable the custom gateway server option.

$azure = Get-VBRObjectStorageRepository -Name "Azure Blob"

$gateserv = Get-VBRServer -Name north.tech.local

Set-VBRAzureBlobRepository -Repository $azure -UseGatewayServer -GatewayServer $gateserv

Related Commands

Get-VBRObjectStorageRepository

Get-VBRServer