How to force close $backupCursor on a replica set?

Hi,

i’ve the problem that one replica set of our sharded cluster has an open backup cursor and because of this i cannot run PBM. Is it possible to force-close the cursor?

Hi, I am not sure if it’s possible to kill these. Have you tried https://www.mongodb.com/docs/manual/reference/command/killCursors/ functionality?

$backupCursor automatically closes in 10min (PBM periodically polls the cursor during backup to prevent it from closing). Restarting mongod should close the cursor as well.