Sync-VBRBackupRepository
Short Description
Rescans a backup repository.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Sync-VBRBackupRepository -Repository <CBackupRepository[]> [<CommonParameters>] |
Detailed Description
This cmdlet allows you to rescan a backup repository and get details on backups stored on it.
You can perform the repository rescan, for example, in case you have imported or copied backups.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Repository | Specifies an array of backup repositories you want to rescan. | Accepts the CBackupRepository object. To get this object, run the Get-VBRBackupRepository cmdlet. | True | Named | True (ByValue, |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the CBackupRepository object that contains settings of backup repositories added to the backup infrastructure.
Examples
Example 1. Rescanning Backup Repository [Using Variable]
This example shows how to rescan the repository named Local Repository 01.
Perform the following steps:
|
Example 2. Rescanning Backup Repository [Using Pipeline]
This example shows how to rescan the repository named Local Repository 01.
Perform the following steps:
|
Related Commands