backup: priority: "localhost:28019": 2.5 "localhost:27018": 2.5 "localhost:27020": 2.0 "localhost:27017": 0.1 compression: <string> compressionLevel: <int>
Type: array of strings
The list of
mongod nodes and their priority for making backups. The node with the highest priority is elected for making a backup. If several nodes have the same priority, the one among them is randomly elected to make a backup.
If not set, the replica set nodes have the default priority as follows:
- hidden nodes - 2.0
- secondary nodes - 1.0
- primary node - 0.5
The compression method for backup snapshots. Available in Percona Backup for MongoDB as of version 1.8.0.
none is specified, backups are made without compression.
The compression level. The default value depends on the compression method used.
The following table shows available compression levels per compression method:
|Compression method||Supported compression levels||Default|
||1 - fastest speed, 2 - default, 3 - better compression, 4 - best compression||2|
||From 1 (fastest) to 16||1|
||-1 - default compression, 0 - no compression, 1 - best speed, 9 - best compression||-1|
Note that the higher value you specify, the more time and computing resources it will take to compress the data.
For free technical help, visit the Percona Community Forum.
To report bugs or submit feature requests, open a JIRA ticket.
For paid support and managed or consulting services , contact Percona Sales.
Created: March 23, 2023