Set-VBOObjectStorageRepository

In this article

    Short Description

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

    Syntax

    This cmdlet provides parameter sets that allow you to:

    • Modify an object storage repository.

    Set-VBOObjectStorageRepository -ObjectStorageRepository <VBOObjectStorageRepository> [-Name <string>] [-Description <string>] [-EnableSizeLimit] [-SizeLimit <uint64>] [-TrustServerCertificate]  [<CommonParameters>]

    • Modify an archive object storage repository.

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

    Detailed Description

    This cmdlet modifies settings of object storage repositories 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 an object storage repository. The cmdlet will modify settings of this repository.

    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 an archive object storage.

    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 from Azure Blob storage to Azure Archive storage.

    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 to an archive object storage.

    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 repositories.

    Examples

    Set-VBOObjectStorageRepositoryExample 1. Modifying Soft Limit for Object Storage Repository

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

    $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