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

Get-VBRBackupRepository

Short Description

Returns backup repositories.

Applies to

Platform: VMware

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

Get-VBRBackupRepository [-Name <string[]>] [-ScaleOut]  [<CommonParameters>]

Detailed Description

This cmdlet returns backup repositories managed by Veeam Backup & Replication.

You can get the list of all backup repositories, get scale-out backup repositories or look for instances directly by name.

Return Type

CBackupRepository

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Name

Specifies the name of the backup repository you want to get, or search conditions.

You can specify multiple names separated by commas.

False

Named

False

True

ScaleOut

If indicated, the cmdlet will return scale-out backup repositories.

If not indicated, the cmdlet will return standalone backup repositories.

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Example 1

This command looks for all standalone backup repositories managed by Veeam Backup & Replication.

Get-VBRBackupRepository

Example 2

This command looks for all scale-out backup repositories managed by Veeam Backup & Replication.

Get-VBRBackupRepository -ScaleOut

Example 3

This command looks for the standalone backup repository named "Backups Vol2" and for standalone backup repositories with names starting with "Local".

Get-VBRBackupRepository -Name "Backups Vol2", "Local*"

Example 4

This command looks for scale-out backup repository named 'Veeam Performance Scale-Out Repository'.

Get-VBRBackupRepository -ScaleOut -Name "Veeam Performance Scale-Out Repository"