This version of the documentation is archived and no longer maintained. View
the current documentation
for up-to-date guidance on
mongosync usage and instructions on how
to upgrade your version of mongosync.The user specified in the mongosync connection string must have the
required permissions on the source and destination clusters. The
permissions vary depending on your environment and if you want to run a
write-blocking or reverse sync.
Self-Managed Clusters
The self-managed permissions are:
Sync Type | Required Source Permissions | Required Destination Permissions |
|---|---|---|
Default | ||
Write-blocking | ||
Reversing |
For details on server roles, see: Role-Based Access Control in Self-Managed Deployments.
To update user permissions, see: grantRolesToUser.
Atlas Clusters
The Atlas permissions are:
Sync Type | Required Source Permissions | Required Destination Permissions |
|---|---|---|
Default |
|
|
Write-blocking or reversing |
|
|
For details on Atlas roles, see: Built-In Roles and Privileges.
To update Atlas user permissions, see: Manage Access to a Project.