I have two clusters of mongo database, each having three machines. Say Cluster1 and Cluster2. To reduce cost I have to terminate Cluster2. So I took mongodump of one database from the primary machine of Cluster2 which is 8.5 GB. I copied that dump folder to the primary machine of Cluster1 and run there mongorestore command but when I run show dbs command on Cluster1 it shows the size as 4.7GB. So my question is, did I make any mistake or mongorestore does not restore indexes or any other reason?

  • does anybody have answer for it? It is quite urgent for me. – innervoice Dec 9 at 6:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.