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 |
|---|---|---|---|---|---|
|
Enable |
Defines that the cmdlet will enable the maintenance mode for the specified backup proxy servers. Default: True |
|
True |
Named |
False |
|
LinuxCredential |
Specifies Linux credentials. The cmdlet will use these credentials to connect to the Linux-based backup proxy server.
Accepts the
To get this object, run the |
False |
Named |
False |
|
|
Proxy |
Specifies an array of backup proxy servers for which you want to enable or disable the maintenance mode.
Accepts the
To get this object, run the |
True |
Named |
False |
|
|
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. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Examples
Example 1: Enabling Maintenance Mode
|
This example shows how to enable the maintenance mode for the
Perform the following steps:
|
Example 2: Disabling Maintenance Mode
|
This example shows how to disable the maintenance mode for the
Perform the following steps:
|
Related Commands
Get-VBOProxyReturns backup proxy servers added to the Veeam Backup for Microsoft 365 infrastructure.Get-CredentialConvertTo-SecureStringNew-VBOLinuxCredentialCreates the Linux credentials record to connect to a Linux-based backup proxy server.