Created
January 21, 2019 10:49
-
-
Save jhonylucas74/4bd3838a29deff42cf54fd2434496e81 to your computer and use it in GitHub Desktop.
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
# Export database | |
mongodump -h ds115671.mlab.com:15671 -d bomedico -u <user> -p <password> -o <output directory> | |
# Import collection | |
mongorestore -h ds115671.mlab.com:15671 -d bomedico -u <user> -p <password> <input .bson file> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment