Not able to Import Data into my atlas

Not able to import data giving me the following error:

2020-02-12T12:00:18.973+0530 preparing collections to restore from
2020-02-12T12:00:18.974+0530 don’t know what to do with file “data/.DS_Store”, skipping…
2020-02-12T12:00:18.974+0530 don’t know what to do with file “data/data/.DS_Store”, skipping…
2020-02-12T12:00:18.974+0530 don’t know what to do with subdirectory “data/mflix”, skipping…
2020-02-12T12:00:18.974+0530 0 document(s) restored successfully. 0 document(s) failed to restore.

Can you help me in resolve this

Hi @Venkata_Rao_65126,

There are two methods to import data,

  1. from cloud.mongodb.com, when you create your cluster, then “import sample dataset”
  2. OR using mongorestore command. There was a mistake, I would recommend downloading the handout zip again. You need to run the command from mflix-java/mflix/data directory

Kanika

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.