// Export, to be executed in Bash after installing Mongo system wide
mongoexport --host 127.0.0.1 --port=3001 --db meteor --collection links --out exportedFile.json
// Import
mongoimport --host 127.0.0.1 --port=3001 --db meteor --collection links --drop --file exportedFile.json
Export/Import, to be executed in Bash after installing Mongo system wide.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.