Get-VBRBackupRepository
Short Description
Returns a list of backup repositories.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Get-VBRBackupRepository [-Name <string[]>] [-ScaleOut] [<CommonParameters>] |
Detailed Description
This cmdlet returns a list of backup repositories added to the backup infrastructure.
You can get a list of all backup repositories, get scale-out backup repositories or look for repositories directly by name.
Important |
To get information on object storage repositories, run the Get-VBRObjectStorageRepository cmdlet. |
Parameters
Parameter | Description | Type | Required | Position | Accept | Accept |
|---|---|---|---|---|---|---|
Name | Specifies an array of backup repositories names. The cmdlet will return repositories with these names. | String | False | Named | False | True |
ScaleOut | Defines that the cmdlet will return only scale-out backup repositories. Note: You must provide this parameter to get scale-out backup repositories. Default: False. | SwitchParameter | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns one of the following objects:
- VBRScaleOutBackupRepository — if you specify the ScaleOut parameter.
- CBackupRepository — if you do not specify the ScaleOut parameter.
Examples
Example 1. Getting Standalone Backup Repositories
This command gets all standalone backup repositories added to the backup infrastructure.
|
Example 2. Getting Scale-Out Backup Repositories
This command gets scale-out backup repositories added to the backup infrastructure.
|
Example 3. Getting Standalone Backup Repositories by Name
This command gets the Backups Vol12 and Local standalone backup repositories.
|
Example 4. Getting Scale-Out Backup Repository by Name
This command gets scale-out backup repository named Veeam Performance Scale-Out Repository.
|