Skip to content

Instructions

Vasilis Naskos edited this page May 6, 2017 · 1 revision

EXPORT DATABASE

Type the following command in the desired path location in the shell NOT 'inside' the mongod shell

mongoexport -d smart_city -c city_items -o city_items.json

HOW TO IMPORT:

mongoimport --drop -d smart_city -c city_items city_items.json

Clone this wiki locally