Help Center
Choose product document...
Veeam Backup for Microsoft Office 365 2.0
PowerShell Reference

Get-VBORepository

Short Description

Returns backup repositories.

Syntax

This cmdlet provides 3 parameter sets.

  • For getting all backup repositories added to Veeam Backup for Microsoft Office 365:

Get-VBORepository  [<CommonParameters>]

  • For getting a backup repository added to Veeam Backup for Microsoft Office 365 by ID:

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

  • For getting backup repositories added to Veeam Backup for Microsoft Office 365 by name or associated backup proxy:

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

Detailed Description

This cmdlet returns backup repositories managed by Veeam Backup for Microsoft Office 365.

You can get the list of all backup repositories directly by name or ID.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Id

Specifies the ID of the backup repository. The cmdlet will return the repository with this ID.

False

Named

False

False

Name

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

False

Named

False

True

Proxy

Specifies a backup proxy where the backup repositories are located.

False

Named

True (ByValue)

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 returns all backup repositories managed by Veeam Backup for Microsoft Office 365.

PS C:\PS> Get-VBORepository

Example 2

This command returns a backup repository with a specified ID.

PS C:\PS> Get-VBORepository -Id "3cb1b56c-3396-499a-8560-ab19d510d7dd"

Example 3

This command returns a backup repository named "ABC Daily Backup".

PS C:\PS> Get-VBORepository -Name "ABC Daily Backup"

Example 4

This command returns the backup repositories with names starting with "ABC".

PS C:\PS> Get-VBORepository -Name ABC*

Example 5

This command returns the backup repositories associated with the backup proxy.

You will need to perform the following steps:

  1. Run Get-VBOProxy to get the backup proxy with ID "d96f55a4-d15d-410b-b0f0-d51d17ccdab6". Save the result to the $proxy variable.
  2. Run Get-VBORepository with the $proxy variable.

PS C:\PS> $proxy = Get-VBOProxy -Id "d96f55a4-d15d-410b-b0f0-d51d17ccdab6"

PS C:\PS> Get-VBORepository -Proxy $proxy

Related Commands

Get-VBOProxy

Veeam Large Logo

User Guide

RESTful API Reference

PowerShell Reference