Disable-VBRRepositoryExtentMaintenanceMode
Short Description
Disables Maintenance mode for extents of a scale-out backup repository.
Platform: VMware, Hyper-V
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Disable-VBRRepositoryExtentMaintenanceMode -Extent <VBRRepositoryExtent[]> [-RunAsync] [<CommonParameters>] |
Detailed Description
This cmdlet disables Maintenance mode for a selected extent or several extents of scale-out backup repositories. You can disable the Maintenance mode that was enabled with the Enable-VBRRepositoryExtentMaintenanceModeEnables Maintenance mode for a performance extent or capacity extent of a scale-out backup repository. cmdlet. When you disable the Maintenance mode, the extents return to normal operation.
With one command, you can disable the Maintenance mode for multiple extents.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Extent |
Specifies the array of scale-out repository extents. The cmdlet will disable the Maintenance mode for these extents. Accepts extents with different policies and of different scale-out repositories.
Accepts the ID, the String (name of the backup repository that is used as extent), or the
To get the performance extent, run the
To get the capacity extent, run the
To get the archive extent, run the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Disabling Maintenance Mode for Performance Extents
This example shows how to disable the Maintenance mode for the performance extents.
|
$scaleoutrepository = Get-VBRBackupRepository -ScaleOut -Name "Amazon S3" $extent = Get-VBRrepositoryExtent -Repository $scaleoutrepository Disable-VBRRepositoryExtentMaintenanceMode -Extent $extent[2] |
Perform the following steps:
- Run the
Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet. Specify theNameparameter value and provide theScaleOutparameter. Save the result to the$scaleoutrepositoryvariable. - Run the
Get-VBRrepositoryExtentReturns scale-out performance extents. cmdlet. Set the$scaleoutrepositoryas theRepositoryparameter value. Save the result to the$extentvariable.The
Get-VBRrepositoryExtentReturns scale-out performance extents. cmdlet will return an array of extents. Mind the ordinal number of the necessary extent (in our example, it is the third extent in the array). - Run the
Disable-VBRRepositoryExtentMaintenanceModecmdlet. Set the$extentvariable as theExtentparameter value.
Related Commands
Get-VBRBackupRepositoryReturns a list of backup repositories.Get-VBRRepositoryExtentReturns scale-out performance extents.