Install or Update the Backup Agent through Automation¶
The Backup Agent polls the primary MongoDB instance of every backup-enabled replica set and transmits the operations to the Ops Manager service.
The Backup Agent relies on the Ops Manager Monitoring Agent to populate the list of sharded clusters and replica sets eligible for backup. If the appropriate hosts are not added, or the Monitoring Agent is not being correctly run, the lists may be incomplete or out-of-date. If you have not already installed and configured the Monitoring Agent, please refer to the Install or Update the Monitoring Agent documentation.
Ops Manager only supports backing up replica sets and sharded clusters, and does not support backing up standalone instances.
Ops Manager only supports backup for replica sets that run MongoDB 2.0 or later.
Ops Manager only supports backup for sharded clusters that run MongoDB 2.4.3 or later.
All backed up replica sets and config servers must be able to maintain
oplog entries, by default, for at least 3 hours over the last 24 hour
period. You can change the default window by adding the
mms.backup.minimumOplogWindowHours setting to the
Custom tab on the Ops Manager Configuration page.
Running on Amazon EC2¶
If you run the Backup Agent on Amazon EC2, do not use the
instance type, which has a CPU scheduling policy that does not
typically provide sufficient capacity to support a Backup Agent for a
production deployment. Use a larger instance type instead.
After you install the Backup Agent, do not use the agent’s directory location for anything other than the agent itself. The Backup Agent periodically deletes the contents of its root directory.
If your MongoDB instances operate within a firewall, configure your
network infrastructure to allow outbound connections on port
To install the agent, click Deployment, then Servers, then click a server’s ellipsis icon (...) and select Install Backup Agent.
To update the agent, click the link Ops Manager provides when your agent is out-of-date. When the agent needs updating, Ops Manager displays a warning on the Deployment page and provides a link to perform the update.