Q. mongorestore error in sharded cluster

Hi @Kim_Hakseon ,

Please note mongodump and restore cannot be a production safe backups snd restores

There are 2 ways to restore a sharded cluster with mongodump if this is the only available backups:

  1. Restore each shard seperately from a seperate dump per shard and than restore the config database.

  2. If we restore fully from a mongos we need to pre shard and pre split the collections and than restore the dump without the config ao the system will rebuild the metadata from scratch.

We cannot mix.

Thanks
Pavel