Disable-VBRRepositoryExtentMaintenanceMode

Short Description

Disables Maintenance mode for extents of a scale-out backup repository.

Applies to

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 Enable-VBRRepositoryExtentMaintenanceMode. 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

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

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 VBRRepositoryExtent, ID or string (name of the backup repository that is used as extent) types.

True

Named

True (ByValue,
ByProperty
Name)

True (for string type)

RunAsync

Indicates that the command returns immediately without waiting for the task to complete.

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Return Type

VBRSession

Examples

Disabling Maintenance Mode for Performance Extents

This example shows how to disable the Maintenance mode for the performance extents.

  1. Run Get-VBRBackupRepository to get the scale-out repository. Save the result to the $scaleoutrepository variable.
  2. Run Get-VBRRepositoryExtent to get the performance extents that you want to set to the Maintenance mode. Save the result to the $extent variable.
  3. Run Disable-VBRRepositoryExtentMaintenanceMode with the $extent variable.

$scaleoutrepository = Get-VBRBackupRepository -ScaleOut -Name "Amazon S3"

$extent = Get-VBRCapacityExtent -Repository $scaleoutrepository

Disable-VBRRepositoryExtentMaintenanceMode -Extent $extent[2]

Related Commands

Get-VBRRepositoryExtent