Disable-VBRArchiveExtentMaintenanceMode

Short Description

Disables the Maintenance mode for the archive extent.

Applies to

Product Edition: Enterprise Plus, Veeam Universal License

Syntax

Disable-VBRArchiveExtentMaintenanceMode -ArchiveExtent <VBRArchiveExtent[]> [-RunAsync]  [<CommonParameters>]

Detailed Description

This cmdlet disables the Maintenance mode for the archive extent of the scale-out backup repository. Run the Enable-VBRArchiveExtentMaintenanceMode cmdlet to enable the Maintenance mode.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

ArchiveExtent

Specifies the archive extent.The cmdlet will disable the Maintenance mode for this extent.

Accepts the VBRArchiveExtent object. To get this object, run the Get-VBRArchiveExtent cmdlet.

True

Named

True (ByValue,
ByPropertyName)

RunAsync

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

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

VBRSession

Examples

Disabling Maintenance Mode for Archive Extent

This example shows how to disable the Maintenance mode for the archive extent.

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

$extent = Get-VBRArchiveExtent -Repository $scaleoutrepository

Disable-VBRArchiveExtentMaintenanceMode -ArchiveExtent $extent

Perform the following actions:

  1. Run the Get-VBRBackupRepository cmdlet. Provide the ScaleOut parameter. Specify the Name parameter value. Save the result to the $scaleoutrepository variable.
  2. Run the Get-VBRArchiveExtent cmdlet. Set the $scaleoutrepository variable as the Repository parameter value. Save the result to the $extent variable.
  3. Run the Disable-VBRArchiveExtentMaintenanceMode cmdlet. Set the $extent variable as the ArchiveExtent parameter value.

Related Commands