I am scheduling MongoDB backup to S3 and looks like I am facing this error whenever I try to run the job:
“Failed: error getting oplog start: error getting recent oplog entry: mongo: no documents in result”
I tried running the part of the script manually to troubleshoot more and looks like I get the same error. Below is a part of the script I am using to automate this:
echo “[$SCRIPT_NAME] Dumping all MongoDB databases to compressed archive…”
also, this runs perfectly fine in prod but throws up this error in dev. both MongoDB is on the same version, what am I missing here?