User Account Requirements for MongoDB Agent

The MongoDB Agent requires a user that has any of the following roles to access the MongoDB database to perform backup and restore operations.

  • Root role on the admin database. This is a superuser role.

  • A subset of roles (backup, restore, clusterMonitor, hostManager) on the admin database. These roles should be used if you do not want to assign the superuser role to the database user.

    In sharded cluster deployments, ensure the same database user is created on all the sharded servers and the config server.

×

Loading...