Created
August 20, 2019 18:17
-
-
Save gmoqa/1705617470b15e37b0ba29e87d9c7a9b to your computer and use it in GitHub Desktop.
Mongo DB Snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install mongo-tools | |
mongodump --uri "mongo://localhost:sadasda@asdasassad.com" --out ~/Documents/ --forceTableScan | |
bsondump --pretty --outFile collection.json collection.bson |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment