Set-VBOProxyMaintenance
Short Description
Enables or disables maintenance mode for backup proxy servers that are already added to a backup proxy pool.
Syntax
Set-VBOProxyMaintenance [-WindowsCredential <PSCredential>] [-LinuxCredential <VBOLinuxCredential>] -Proxy <VBOProxy[]> [-Enable] [<CommonParameters>] |
Detailed Description
This cmdlet enables or disables maintenance mode for backup proxy servers that are already added to a backup proxy pool.
If the maintenance mode is enabled for a backup proxy server, Veeam Backup for Microsoft 365 re-assigns all roles of this backup proxy server to another backup proxy server within the same backup proxy pool. All tasks of the unavailable backup proxy server will be continued smoothly by another backup proxy server. Veeam Backup for Microsoft 365 cannot assign new objects for processing to a backup proxy server in the maintenance mode.
You may need to enable the maintenance mode for a backup proxy server, for example, if you want to upgrade a machine assigned the backup proxy server role, or perform other service operations.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
WindowsCredential | Specifies Windows credentials. The cmdlet will use these credentials to connect to the Windows-based backup proxy server. If you omit this parameter, the cmdlet will use the Windows credentials under which you are currently logged in. | PSCredential | False | Named | False |
LinuxCredential | Specifies Linux credentials. The cmdlet will use these credentials to connect to the Linux-based backup proxy server. | Accepts the VBOLinuxCredential object. To get this object, run the New-VBOLinuxCredential cmdlet. | False | Named | False |
Proxy | Specifies an array of backup proxy servers for which you want to enable or disable the maintenance mode. | Accepts the VBOProxy[] object. To get this object, run the Get-VBOProxy cmdlet. | True | Named | False |
Enable | Defines that the cmdlet will enable the maintenance mode for the specified backup proxy servers. Default: True | SwitchParameter | True | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Output Object
None.
Examples
Example 1. Enabling Maintenance Mode
This example shows how to enable the maintenance mode for the support.east.local backup proxy server.
Perform the following steps:
|
Example 2. Disabling Maintenance Mode
This example shows how to disable the maintenance mode for the linux01 backup proxy server.
Perform the following steps:
|
Related Commands