Last active
January 3, 2017 08:25
-
-
Save aliaksandr-s/ccf5df4b1079f548537fd2fd88f0bbd6 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
# Dump | |
mongodump --db somedb | |
# Restore the training database to a new database called training2 | |
mongorestore --db training2 dump/training |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment