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> [<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

Repository

Specifies a backup repository. The cmdlet will create an indexing session for this backup repository.

Accepts the VBORepository object.

To get this object, run the Get-VBORepository cmdlet.

True

Named

False

<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 the VBORepositoryIndexingSession object that contains details on the backup repository indexing.

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:

  1. Run the Get-VBORepository cmdlet. Specify the Name parameter value. Save the result to the $repository variable.
  2. Run the Start-VBORepositoryIndexingSession cmdlet. Set the $repository variable as the Repository parameter value.

Related Commands

Get-VBORepository

Page updated 10/1/2024

Page content applies to build 8.0.2.200