Get-VBORepository
Short Description
Returns backup repositories.
Syntax
This cmdlet provides the following parameter sets:
-
AllParameterSet (Default)Get-VBORepository [-Name <String>] [-LongTerm] [<CommonParameters>]
-
ByIdParameterSetGet-VBORepository -Id <Guid> [<CommonParameters>]
-
ProxyParameterSetGet-VBORepository [-Name <String>] [-LongTerm] [-Proxy <VBOProxy>] [<CommonParameters>]
-
PoolParameterSetGet-VBORepository [-Name <String>] [-LongTerm] [-ProxyPool <VBOProxyPool>] [<CommonParameters>]
Detailed Description
This cmdlet returns backup repositories added to the Veeam Backup for Microsoft 365 infrastructure.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Id |
Specifies an ID of the backup repository. The cmdlet will return the backup repository with this ID. |
|
True |
Named |
False |
|
LongTerm |
Defines that the cmdlet will return settings of the following object storage repositories:
Default: False |
|
False |
Named |
False |
|
Name |
Specifies a name of the backup repository. The cmdlet will return the backup repository with this name. |
|
False |
Named |
False |
|
Proxy |
Specifies a backup proxy server associated with backup repositories. The cmdlet will return backup repositories that you map to this backup proxy server.
Accepts the
To get this object, run the |
False |
Named |
True (ByValue) |
|
|
ProxyPool |
Specifies a backup proxy pool associated with the object storage repository. The cmdlet will return the object storage repository that you map to this backup proxy pool.
Accepts the
To get this object, run the |
False |
Named |
True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Output Object
The cmdlet returns the VBORepository object that contains settings of a backup repository.
Examples
Example 1: Getting All Backup Repositories
|
This command returns all backup repositories added to the Veeam Backup for Microsoft 365 infrastructure.
|
Example 2: Getting Repository by ID
|
This command returns the
|
Example 3: Getting Repository by Name
|
This command returns the Daily Backup backup repository.
|
Example 4: Getting Repositories by Name Using Wildcards
|
This command returns backup repositories whose names start with Volume.
|
Example 5: Getting Backup Repositories Associated with Specific Backup Proxy Server
|
This example shows how to get backup repositories associated with the
Perform the following steps:
|
Example 6: Getting Object Storage Repositories Associated with Specific Backup Proxy Pool
|
This example shows how to get object storage repositories associated with the
Perform the following steps:
|
Related Commands
Get-VBOProxyReturns backup proxy servers added to the Veeam Backup for Microsoft 365 infrastructure.Get-VBOProxyPoolReturns backup proxy pools added to the Veeam Backup for Microsoft 365 infrastructure.