Enable-VBRArchiveExtentMaintenanceMode
Short Description
Enables the Maintenance mode for the archive extent.
Product Edition: Enterprise Plus, Veeam Universal License
Syntax
|
Enable-VBRArchiveExtentMaintenanceMode -ArchiveExtent <VBRArchiveExtent[]> [-RunAsync] [<CommonParameters>] |
Detailed Description
This cmdlet enables the Maintenance mode for the archive extent of the scale-out backup repository.
Run the Disable-VBRArchiveExtentMaintenanceModeDisables the Maintenance mode for the archive extent. cmdlet to disable the Maintenance mode.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ArchiveExtent |
Specifies the archive extent. The cmdlet will set this extent to the Maintenance mode.
Accepts 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
Enabling Maintenance Mode for Archive Extent
This example shows how to set the Maintenance mode for the archive extent.
|
$scaleoutrepository = Get-VBRBackupRepository -ScaleOut -Name "Amazon S3" $extent = Get-VBRArchiveExtent -Repository $scaleoutrepository Enable-VBRArchiveExtentMaintenanceMode -ArchiveExtent $extent |
Perform the following steps:
- Run the
Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet. Provide theScaleOutparameter. Specify theNameparameter value. Save the result to the$scaleoutrepositoryvariable. - Run the
Get-VBRArchiveExtentReturns the archive extent. cmdlet. Set the$scaleoutrepositoryvariable as theRepositoryparameter value. Save the result to the$extentvariable. - Run the
Enable-VBRArchiveExtentMaintenanceModecmdlet. Set the$extentvariable as theArchiveExtentparameter value.
Related Commands
Get-VBRArchiveExtentReturns the archive extent.Get-VBRBackupRepositoryReturns a list of backup repositories.