Hi all
I’m busy doing some MongoDB testing in our lab. I have a 3 node Mongo cluster. The backups work as required and I ran a restore succesfully.
I have 2 issues during a restore process. The first is that the Mongo services won’t restart post restore. I’ll spend more time investigating that, as it’s easy to manually bring the instance up.
When I try to run a point in time restore, I get the below error where the oplog won’t replay. From the looks of things, it looks like a permission issue. The account we’re using has the permissions below:

Error Code: [7:255]
Description: Failed to replay the oplog dump [/opt/commvault/iDataAgent/jobResults/CV_JobResults/2/0/3940/local/oplog_rs0_1677651150.bson] on mongod at port [27017] for replica set [rs0]. mongorestore return code is [1], command output [2023-03-03T14:31:40.284+0200 preparing collections to restore from 2023-03-03T14:31:40.285+0200 replaying oplog 2023-03-03T14:31:40.286+0200 Failed: restore error: error applying oplog: applyOps: (Unauthorized) command applyOps requires authentication 2023-03-03T14:31:40.286+0200 0 document(s) restored successfully. 0 document(s) failed to restore. ]
Source: mongo2, Process: CVMongoDBUtil
Is there anything else I’m missing on the permissions side of things?