Error Code: [7:247] Description: Failed to backup MongoDB oplog dumps. Submit FULL SNAP backup immediately to resync the oplog dumps.

Article ID: 56966

Article Type: Troubleshooting

Last Modified:

A scheduled backup of MongoDB operation logs fails.

Symptoms

A scheduled backup of MongoDB operation logs fails with the following error message:

Error Code: [7:247] Description: Failed to backup MongoDB oplog dumps. Submit FULL SNAP backup immediately to resync the oplog dumps Source: mongoclient_2, Process: MongoDB

For oplog rollover, the following information appears in the MongoDBCtrl.log file:

92098 167c2 05/12 13:13:18 26864 MongoDbIDA::MongoDbUtil::HasOplogRolledOver(7708) - Last recorded timestamp : [1683644864], first timestamp in oplog collection: [1683872390] 92098 167c2 05/12 13:13:18 26864 MongoDbIDA::MongoDbUtil::HasOplogRolledOver(7715) - Detected oplog rollover on [test.abcorg.test:27098] 92098 167c2 05/12 13:13:18 26864 MongoDbIDA::MongoDbUtil::HasOplogRolledOver(7720) - Raising event for oplog rollover 92098 167c2 05/12 13:13:18 26864 MongoDbIDA::MongoDbUtil::PerformOpLogDumps(7813) - Detected oplog rollover

For role reversal, the following information appears in the MongoDBCtrl.log file:

33576 8328 05/17 11:53:42

28481 MongoDbIDA::MongoDbUtil::CheckForSecondaryRole(6913) - mongod at [test.abcorg.test:27098] is NOT secondary

33576 8328 05/17 11:53:42

28481 MongoDbIDA::MongoDbUtil::PerformOpLogDumps(7049) - Found primary role on mongod at host [test.abcorg.test:27098]. Stop the oplog dumps. . . . 33576 8328 05/17 11:53:42

28481 MongoDbIDA::MongoDbUtil::CreateCollectFilesForLogBackup(6723) - Failed to do Oplog dump on primary node

33576 8328 05/17 11:53:42

28481 MongoDbIDA::MongoDbUtil::CreateCollectFilesForLogBackup(6727) - This usually indicates role reversal. Failed to backup MongoDB oplog dumps. Submit FULL SNAP backup immediately to resync the oplog dumps

Causes

Resolution

Run a new full backup operation.

1 Commvault Way, Tinton Falls, NJ 07724 Sitemap | Legal Notices | Trademarks | Privacy Policy
Copyright © Commvault | All Rights Reserved.