Created
March 1, 2021 01:52
-
-
Save talesmgodois/a82d5b95ea6be3378a9cbd4dc2bdbfb4 to your computer and use it in GitHub Desktop.
Mongodump
This file contains hidden or 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
# The easiest way to create mongodump that I found | |
mongodump --uri="uri_origin_with_user_and_password" # this will create a folder called dump | |
mongorestore dump/ --uri="uri_destiny_with_user_and_password" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment