Help Center
Choose product document...
Veeam Backup & Replication 9.5 Update 4
PowerShell Reference

Remove-VBRObjectStorageRepository

Short Description

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

Applies to

Platform: VMware, Hyper-V

Product Edition: Enterprise, Enterprise Plus

Syntax

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

Detailed Description

This cmdlet 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

Accept
Wildcard
Characters

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

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Explorers User Guide

Backup and Restore of SQL Server Databases

Veeam Plug-ins for Enterprise Applications

PowerShell Reference

Veeam Explorers PowerShell Reference

RESTful API Reference

Required Permissions Reference

Veeam Availability for Nutanix AHV Documentation

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation