MongoDB comes with several very useful utilities for managing data.

You can restore data from a MongoDB dump with the following command:

mongorestore dump

You can import data from a csv file with the following command:

mongoimport --type csv --headerline weather_data.csv -d weather -c data