Start-VBORepositorySynchronizeSession
Short Description
Creates and starts a session to synchronize cache between object storage repositories and the PersistentCache database on the PostgreSQL instance.
Syntax
Start-VBORepositorySynchronizeSession -Repository <VBORepository> [<CommonParameters>] |
Detailed Description
This cmdlet creates and starts a session to synchronize cache cache between object storage repositories and the PersistentCache database on the PostgreSQL instance.
For more information on cache synchronization, see the Synchronizing Cache section of the Veeam Backup for Microsoft 365 User Guide.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Repository | Specifies object storage repository. The cmdlet will synchronize cache between this object storage repository and the PersistentCache database on the PostgreSQL instance. | 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 VBORepositorySynchronizeSession object that contains details on the synchronization status of object storage repository.
Examples
Example 1. Synchronizing Microsoft Azure Blob Storage Cache
This example shows how to start synchronizing Microsoft Azure Blob Storage cache with the PersistentCache database on the PostgreSQL instance.
Perform the following steps:
The cmdlet output will contain the following details on synchronization status of object storage repository: RepositoryId, RepositoryName and Status. |
Example 2. Synchronizing Amazon S3 Object Storage
This example shows how to start synchronizing Amazon S3 object storage repository cache with the PersistentCache database on the PostgreSQL instance.
Perform the following steps:
The cmdlet output will contain the following details on synchronization status of object storage repository: RepositoryId, RepositoryName and Status. |
Example 3. Synchronizing S3 Compatible Object Storage
This example shows how to start synchronizing S3 Compatible object storage repository cache with the PersistentCache database on the PostgreSQL instance.
Perform the following steps:
The cmdlet output will contain the following details on synchronization status of object storage repository: RepositoryId, RepositoryName and Status. |
Related Commands