Get-VBORepository
Short Description
Returns backup repositories.
Syntax
This cmdlet provides the following parameter sets.
- 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 | Required | Position | Accept | Accept |
Id | Specifies an ID assigned to a backup repository. The cmdlet will return a backup repository with this ID. | False | True | False | False |
Name | Specifies a name of a backup repository. The cmdlet will return a backup repository with this name. | 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. | False | Named | True (ByValue) | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Example 1
This command returns all backup repositories added to the Veeam Backup for Microsoft Office 365 infrastructure.
Get-VBORepository |
Example 2
This command returns a backup repository with the 3cb1b56c-3396-499a-8560-ab19d510d7dd ID.
Get-VBORepository -Id "3cb1b56c-3396-499a-8560-ab19d510d7dd" |
Example 3
This command returns a backup repository with the Daily Backup name.
Get-VBORepository -Name "Daily Backup" |
Example 4
This command returns backup repositories whose names start with Volume.
Get-VBORepository -Name Volume* |
Example 5
This example shows how to return backup repositories associated with the d96f55a4-d15d-410b-b0f0-d51d17ccdab6 backup proxy.
- Run the Get-VBOProxy cmdlet. Set d96f55a4-d15d-410b-b0f0-d51d17ccdab6 as the ID parameter value. Save the result to the $proxy variable.
- Run the Get-VBORepository cmdlet. Set the $proxy variable as the Proxy parameter value.
$proxy = Get-VBOProxy -Id "d96f55a4-d15d-410b-b0f0-d51d17ccdab6" Get-VBORepository -Proxy $proxy |
Related Commands