File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,15 @@ access to restore any database if the backup data does not include
55
66.. include :: /includes/fact-restore-role-system.profile.rst
77
8- If running :binary: `~bin.mongorestore ` with :option: `--oplogReplay <mongorestore --oplogReplay> `, the
9- :authrole: `restore ` role is insufficient to replay the oplog. To replay
10- the oplog, create a :ref: `user-defined role <create-user-defined-role >`
11- that has :authaction: `anyAction ` on :ref: `resource-anyresource ` and
12- grant only to users who must run :binary: `~bin.mongorestore ` with
8+ As of MongoDB 3.2.11, you can run :binary: `~bin.mongorestore ` with
9+ :option: `--oplogReplay <mongorestore --oplogReplay> ` if you have the
10+ :authrole: `restore ` role. To replay the oplog on versions of MongoDB
11+ 3.2.10 and earlier, you must create a
12+ :ref: `user-defined role <create-user-defined-role >` that has
13+ :authaction: `anyAction ` on :ref: `resource-anyresource ` and grant only
14+ to users who must run :binary: `~bin.mongorestore ` with
1315:option: `--oplogReplay <mongorestore --oplogReplay> `.
1416
15-
1617.. COMMENT per the following commit, choosing the anyAction/anyResource
1718 over the __system role.
1819 https://github.com/mongodb/docs/commit/237c44cd3b6e4b7dbe0c9077b7571c8b7ec5d7a5
You can’t perform that action at this time.
0 commit comments