I am getting error while importing DB backup using mongorestore command with dump.gz
Using following command to restore DB:
mongorestore --gzip --archive=dump.gz --nsInclude=MyApp
Getting following error:
2019-12-04T14:14:40.352+0530 Failed: EOF
2019-12-04T14:14:40.352+0530 0 document(s) restored successfully. 0 document(s) failed to restore.
What is wrong with this command?