Test-VBORepository
Short Description
Verifies the integrity of backed-up Exchange, SharePoint and Teams data in backup repositories.
Syntax
|
Test-VBORepository -Repository <VBORepository> [-MaxDegreeOfExecutionParallelism <Int32>] [-DetailedOutput] [<CommonParameters>] |
Detailed Description
This cmdlet allows you to verify the integrity of Exchange, SharePoint and Teams data backups stored in backup repositories. The cmdlet returns objects stored in a specified backup repository that have certain inconsistencies in their backed-up data.
Note |
|
The cmdlet verifies backups only. Verification of backup copies stored in a target object storage repository is not supported. To check backup copies for inconsistencies, run the cmdlet for the source backup repository. The backup copy job will transfer the results of the repair operation to the target object storage repository. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
DetailedOutput |
Defines that the detailed report will be provided. |
|
False |
Named |
False |
|
MaxDegreeOfExecutionParallelism |
Specifies the maximum number of verification checks executed in parallel. |
|
False |
Named |
False |
|
Repository |
Specifies a backup repository. The cmdlet will verify the integrity of Exchange, SharePoint and Teams data backups stored in this backup repository.
Accepts the
To get this object, run the |
True |
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 objects stored in a specified backup repository that have certain inconsistencies in their backed-up data.
Examples
Verifying Backup Repository Integrity
This example shows how to verify the integrity of the Repository 05 backup repository.
|
$repository = Get-VBORepository -Name "Repository 05" Test-VBORepository -Repository $repository |
Perform the following steps:
- Run the
Get-VBORepositoryReturns backup repositories. cmdlet. Specify theNameparameter value. Save the result to the$repositoryvariable. - Run the
Test-VBORepositorycmdlet. Set the$repositoryvariable as theRepositoryparameter value.
Related Commands
Get-VBORepositoryReturns backup repositories.