Set-VBRMongoDBProcessingOptions
Short Description
Modifies processing options for each MongoDB replica set.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
AllParameterSets (Default)Set-VBRMongoDBProcessingOptions -Options <VBRMongoDBProcessingOptions> [-BackupObject <VBRDiscoveredMongoDB>]
[-AllowBackupFromPrimary <Boolean>] [<CommonParameters>]
-
AutomaticNodeSelectionSet-VBRMongoDBProcessingOptions -Options <VBRMongoDBProcessingOptions> [-BackupObject <VBRDiscoveredMongoDB>]
[-AllowBackupFromPrimary <Boolean>] [-AutoSelectBackupSourceNode] [<CommonParameters>]
-
PreferredNodeSelectionSet-VBRMongoDBProcessingOptions -Options <VBRMongoDBProcessingOptions> [-BackupObject <VBRDiscoveredMongoDB>]
[-AllowBackupFromPrimary <Boolean>] [-BackupSourceNode <VBRDiscoveredMongoDBReplicaSetNode>]
[-AllowBackupSourceNodeFailover <Boolean>] [<CommonParameters>]
Detailed Description
This cmdlet applies to application backup policies and modifies MongoDB processing options to switch between two types of backup nodes selection:
- Automatic selection of backup nodes.
- Preferred selection of backup nodes.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
AllowBackupFromPrimary |
Allows backup from primary nodes. Note: This parameter is required only in cases where there is more than one node. |
|
False |
Named |
True (ByPropertyName) |
|
AllowBackupSourceNodeFailover |
Allows switching to automatic node selection if the manually selected node is not available and the |
|
False |
Named |
True (ByPropertyName) |
|
AutoSelectBackupSourceNode |
Selects the backup node automatically. |
|
False |
Named |
True (ByPropertyName) |
|
BackupObject |
Specifies an array of discovered application entities: individual computers, databases and protection groups. The cmdlet adds these entities to the application backup policy.
Accepts the |
False |
Named |
True (ByPropertyName) |
|
|
BackupSourceNode |
Specifies the selected node to be backed up. Keep in mind the following limitations for node selection:
Note: This parameter is not required when
Accepts the |
False |
Named |
True (ByPropertyName) |
|
|
Options |
Specifies the processing options for Veeam Application Backup for MongoDB backup operations.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRMongoDBProcessingOptions object that defines MongoDB database processing settings.
Examples
Example 1. Change Existing Processing Options To Allow Backup From Primary Node
|
This example shows how to change the existing replica set processing options to be able to perform backup operations from the primary node.
Perform the following steps:
|
Example 2. Change Preferred Node In Existing Processing Options
|
This example shows how to change the preferred node in existing replica set processing options.
Perform the following steps:
|
Related Commands
Get-VBRDiscoveredApplicationReturns discovered applications from the computer.New-VBRMongoDBProcessingOptionsCreates processing options for each MongoDB replica set.