This is an archive version of the document. To get the most up-to-date information, see the current version.

Remove-VBRObjectStorageRepository

Short Description

Removes object storage added as backup repository to Veeam Backup & Replication.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Remove-VBRObjectStorageRepository -Repository <VBRObjectStorageRepository[]> [-WhatIf] [-Confirm][<CommonParameters>]

Detailed Description

This cmdlet removes object storage added as backup repositories to Veeam Backup & Replication. You can remove types the following types of these backup repositories:

  • Amazon S3
  • S3 Compatible
  • Azure Blob

You will not be able to connect to object storage after removing them from Veeam Backup & Replication.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Repository

Specifies a backup repository that you want to remove.

Accepts the VBRObjectStorageRepository type.

True

Named

True (ByValue)

WhatIf

Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action.

False

Named

False

Confirm

Specifies whether the cmdlet displays a prompt that asks if the user is sure that they want to continue.

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 remove all S3 Compatible object storage added as backup repositories from Veeam Backup & Replication.

  1. Run Get-VBRObjectStorageRepository to get object storage repositories that you want to remove. Use the Type parameter to specify the repository type. Save the result to the $repository variable.
  2. Run Remove-VBRObjectStorageRepository with the $repository variable.

$repository = Get-VBRObjectStorageRepository -Type AmazonS3Compatible

Remove-VBRObjectStorageRepository -Repository $repository

Related Commands

Get-VBRObjectStorageRepository