Start-VBORepositoryUpgradeSession
Short Description
Creates and starts a session to upgrade backup repositories.
Syntax
|
Start-VBORepositoryUpgradeSession -Repository <VBORepository> [<CommonParameters>] |
Detailed Description
This cmdlet creates and starts a session to upgrade a backup repository. You may need this if you have upgraded Veeam Backup for Microsoft 365 to a new version and all backup repositories configured in your environment are marked as Out of Date.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Repository |
Specifies a backup repository. The cmdlet will upgrade 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
The cmdlet returns the VBORepositoryUpgradeSession object that contains details on sessions that are running to upgrade backup repositories.
Examples
Upgrading Backup Repository
This example shows how to upgrade a backup repository.
|
$repository = Get-VBORepository -Name "Repository 05" Start-VBORepositoryUpgradeSession -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-VBORepositoryUpgradeSessioncmdlet. Set the$repositoryvariable as theRepositoryparameter value.
Related Commands
Get-VBORepositoryReturns backup repositories.