Set-VBOObjectStorageRepository

Short Description

Modifies settings of object storage added to the Veeam Backup for Microsoft 365 infrastructure.

Syntax

This cmdlet provides parameter sets that allow you to:

  • Modify object storage.

Set-VBOObjectStorageRepository -ObjectStorageRepository <VBOObjectStorageRepository> [-Name <String>] [-Description <String>] [-EnableSizeLimit <SwitchParameter>] [-SizeLimit <UInt64>] [-TrustServerCertificate <SwitchParameter>] [<CommonParameters>]

  • Modify object storage and enable using of the Amazon or Azure archiver appliance.

Set-VBOObjectStorageRepository -ObjectStorageRepository <VBOObjectStorageRepository> -UseArchiverAppliance <SwitchParameter> [-Name <String>] [-Description <String>] [-EnableSizeLimit <SwitchParameter>] [-SizeLimit <UInt64>] [-TrustServerCertificate <SwitchParameter>] [-Subscription <VBOAzureSubscription>] [-AzureArchiverAppliance <VBOAzureArchiverAppliance>] [-AmazonArchiverAppliance <VBOAmazonArchiverAppliance>][<CommonParameters>]

Detailed Description

This cmdlet modifies settings of object storage added to the Veeam Backup for Microsoft 365 infrastructure. To modify settings, you need to enter the necessary parameters with new values. The parameters that you omit will remain unchanged.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

ObjectStorageRepository

Specifies object storage. The cmdlet will modify settings of this object storage.

Accepts the VBOObjectStorageRepository object.

To get this object, run the Get-VBOObjectStorageRepository cmdlet.

True

Named

False

False

Name

Specifies a name of object storage. The cmdlet will replace the current name with the specified name.

String

False

Named

False

False

Description

Specifies a description of object storage. The cmdlet will replace the current description with the specified description.

String

False

Named

False

False

EnableSizeLimit

Defines that the cmdlet will enable a soft limit in GB for your object storage consumption that can be exceeded temporarily.

Use the SizeLimit parameter to specify the soft limit value.

SwitchParameter

False

Named

False

False

SizeLimit

For the EnableSizeLimit option.

Specifies a soft limit in GB for your object storage consumption that can be exceeded temporarily. If the specified limit is exceeded, Veeam Backup for Microsoft 365 will not run a new job.

Permitted value: 1024 - 1073741824.

Default: 1024

Note: In PowerShell you can specify a soft limit in GB only.

UInt64

False

Named

False

False

TrustServerCertificate

Defines that Veeam Backup for Microsoft 365 will trust Amazon S3 Compatible self-signed certificates.

If you omit this parameter, Veeam Backup for Microsoft 365 will not trust Amazon S3 Compatible self-signed certificates.

SwitchParameter

False

Named

False

False

UseArchiverAppliance

Defines that the cmdlet will enable using of the Amazon or Azure archiver appliance when transferring backed-up data to object storage during backup copy jobs.

SwitchParameter

True

Named

False

False

Subscription

Specifies a subscription associated with a user account that will be used to access Azure Blob Storage. The cmdlet will replace the current subscription with the specified subscription.

Accepts the VBOAzureSubscription object.

To get this object, run the Get-VBOAzureSubscription cmdlet.

False

Named

False

False

AzureArchiverAppliance

Specifies the Azure archiver appliance. The cmdlet will replace the current Azure archiver appliance with the specified one.

The cmdlet will use this archiver appliance when transferring backed-up data between different instances of Azure Blob Storage or to Azure Blob Storage Archive during backup copy jobs.

Accepts the VBOAzureArchiverAppliance object.

To create this object, run the New-VBOAzureArchiverAppliance cmdlet.

False

Named

False

False

AmazonArchiverAppliance

Specifies the Amazon archiver appliance. The cmdlet will replace the current Amazon archiver appliance with the specified one.

The cmdlet will use this archiver appliance when transferring backed-up data between different instances of Amazon S3 Standard or Amazon S3 Standard-IA storage classes, or to any of Amazon S3 Glacier storage classes during backup copy jobs.

Accepts the VBOAmazonArchiverAppliance object.

To create this object, run the New-VBOAmazonArchiverAppliance cmdlet.

False

Named

False

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

The cmdlet returns the VBOObjectStorageRepository object that contains an array of object storage added to Veeam Backup for Microsoft 365.

Examples

Set-VBOObjectStorageRepositoryExample 1. Modifying Soft Limit for Object Storage

This example shows how to modify a soft limit for the Azure object storage.

$repository = Get-VBOObjectStorageRepository -Name Azure

Set-VBOObjectStorageRepository -ObjectStorageRepository $repository -SizeLimit 2048

Perform the following steps:

  1. Run the Get-VBOObjectStorageRepository cmdlet. Specify the Name parameter value. Save the result to the $repository variable.
  2. Run the Set-VBOObjectStorageRepository cmdlet. Set the $repository as the ObjectStorageRepository parameter. Specify the SizeLimit value.

Related Commands