Created
November 25, 2014 13:06
-
-
Save jdesboeufs/bfbe6a841cb503539db1 to your computer and use it in GitHub Desktop.
Update local database
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
# Récupère le dump de la base | |
scp -r mesaides:~/dump-2014-11-25-1 . | |
# Invite de commande mongo | |
mongo | |
> use dds-dev | |
> db.dropDatabase() | |
> exit | |
# Import | |
mongorestore -d dds-dev dump-2014-11-25-1/dds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment