0

is there any way that i can update the collection and restore the same from dump created by mongodump cmd . when we do mongorestore , it directly restores from the dump , but my requireemnet is to update some data in the dump and then restore .

Thanks in advance .

0

Sorry, not possible. If you could update dump, you must have possibility to update indexes too...

|improve this answer|||||
  • Thanks . is there any other approach/workaround that we can think of for doing this ? – Abhishek kumar Sep 22 '17 at 8:28
  • If you mongoexport data to json, then you can of course edit it.. Before you mongoimport it back. – JJussi Sep 22 '17 at 8:32

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.