Test-VBORepository
Short Description
Verifies the integrity of backed-up SharePoint data in backup repositories.
Syntax
Test-VBORepository -Repository <VBORepository> [<CommonParameters>] |
Detailed Description
This cmdlet allows you to verify the integrity of SharePoint data backups stored in backup repositories. The cmdlet returns SharePoint sites and lists stored in a specified backup repository that have certain inconsistencies in their backed-up data.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Repository | Specifies a backup repository. The cmdlet will verify the integrity of SharePoint data backups stored in this backup repository. | Accepts the VBORepository object. To get this object, run the Get-VBORepository cmdlet. | True | Named | True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Output Object
The cmdlet returns SharePoint sites and lists stored in a specified backup repository that have certain inconsistencies in their backed-up data.
Example
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-VBORepository cmdlet. Specify the Name parameter value. Save the result to the $repository variable.
- Run the Test-VBORepository cmdlet. Set the $repository variable as the Repository parameter value.
Related Commands