I'm unable to backup a sharded mongodb cluster
/mongo-metadata/backuptest# mongodump --directoryperdb --oplog --out dump --host 10.100.x.x --port 27017
connected to: 10.100.x.x:27017
assertion: 13106 nextSafe(): { $err: "can't use 'local' database through mongos", code: 13644 }
Anyone has a clue what is going on here?
MongoDB version: 2.6.9