Hi Andre,
Thanks for your answer. Yeah, that could also be a solution. And if I have 2 shards where each shard has 3 replicaSets, can I do this to make mongodump for my shard 1 and shard 2 (without lock, because mongodump can't be used when the database is locked) :
mongodump --host shard1 --port 10001 --out /backup/mongodump1 --oplog
mongodump --host shard2 --port 10004 --out /backup/mongodump2 --oplog
where 10001 and 10004 are each the master node for each replicaSets. And for config server, will it be better if I do :
mongodump --host config1 --port 20001 --db config --out /backup
or
mongodump --dbpath /data/config1 --out /backup
Thanks.
Best regards,
Martinus