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

Get-VBORepository

Short Description

Returns backup repositories.

Syntax

This cmdlet provides parameter sets that allow you to:

  • Get backup repositories added to Veeam Backup for Microsoft Office 365 by name or by associated backup proxy.

Get-VBORepository [-Name <string>] [-Proxy <VBOProxy>]  [<CommonParameters>]

  • Get a backup repository added to Veeam Backup for Microsoft Office 365 by ID.

Get-VBORepository -Id <guid>  [<CommonParameters>]

Detailed Description

This cmdlet returns backup repositories added to the Veeam Backup for Microsoft Office 365 infrastructure.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Id

Specifies an ID assigned to a backup repository. The cmdlet will return a backup repository with this ID.

Guid

False

True

False

False

Name

Specifies a name of a backup repository.  The cmdlet will return a backup repository with this name.

String

False

Named

False

True

Proxy

Specifies a backup proxy associated with a backup repository. The cmdlet will return a backup repository deployed on this backup proxy.

Accepts the VBOProxy object. To get this object, run the Get-VBOProxy cmdlet.

False

Named

True (ByValue)

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 VBORepository that contains settings of backup repositories.

Examples

Get-VBORepositoryExample 1. Getting All Backup Repositories

This command returns all backup repositories added to the Veeam Backup for Microsoft Office 365 infrastructure.

Get-VBORepository

Get-VBORepositoryExample 2. Getting Repository by ID

This command returns the 3cb1b56c-3396-499a-8560-ab19d510d7dd backup repository.

Get-VBORepository -Id "3cb1b56c-3396-499a-8560-ab19d510d7dd"

Get-VBORepositoryExample 3. Getting Repository by Name

This command returns the Daily Backup backup repository.

Get-VBORepository -Name "Daily Backup"

Get-VBORepositoryExample 4. Getting Repositories by Name Using Wildcards

This command returns backup repositories whose names start with Volume.

Get-VBORepository -Name Volume*

Get-VBORepositoryExample 5. Getting Backup Repositories Associated with Specific Backup Proxy Server

This example shows how to get backup repositories associated with the d96f55a4-d15d-410b-b0f0-d51d17ccdab6 backup proxy server.

$proxy = Get-VBOProxy -Id "d96f55a4-d15d-410b-b0f0-d51d17ccdab6"

Get-VBORepository -Proxy $proxy

Perform the following:

  1. Run the Get-VBOProxy cmdlet. Specify the Id parameter value. Save the result to the $proxy variable.
  2. Run the Get-VBORepository cmdlet. Set the $proxy variable as the Proxy parameter value.

Related Commands

Get-VBOProxy