Start-VBORepositoryIndexingSession
Short Description
Creates and starts an indexing session when a backup proxy server collects and sends the restore points metadata of a backup repository associated with this backup proxy server to the Veeam Backup for Microsoft 365 controller.
Syntax
|
Start-VBORepositoryIndexingSession -Repository <VBORepository> [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet creates and starts an indexing session when a backup proxy server collects and sends the restore points metadata of a backup repository associated with this backup proxy server to the Veeam Backup for Microsoft 365 controller. This information is accumulated in the Veeam Backup for Microsoft 365 configuration database created on the PostgreSQL instance. By default, indexing is performed automatically after you re-attach a backup repository to the same or another Veeam Backup for Microsoft 365 server or after upgrading Veeam Backup for Microsoft 365 to a newer version.
Veeam Backup for Microsoft 365 put a backup repository into the Unindexed state until indexing finishes.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Force |
Defines that the cmdlet will start a session without showing warnings in the PowerShell console. If you do not provide the parameter, the cmdlet will prompt you to confirm the operation. Default: False |
|
False |
Named |
False |
|
Repository |
Specifies a backup repository. The cmdlet will create an indexing session for this backup repository.
Accepts the
To get this object, run the |
True |
Named |
False |
<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
None.
Examples
Starting Backup Repository Indexing Session
This example shows how to start an indexing session for the Azure Backup object storage repository.
|
$repository = Get-VBORepository -Name "Azure Backup" Start-VBORepositoryIndexingSession -Repository $repository |
Perform the following steps:
- Run the
Get-VBORepositoryReturns backup repositories. cmdlet. Specify theNameparameter value. Save the result to the$repositoryvariable. - Run the
Start-VBORepositoryIndexingSessioncmdlet. Set the$repositoryvariable as theRepositoryparameter value.
Related Commands
Get-VBORepositoryReturns backup repositories.