Skip to navigation
Export and than import a complete database with mongodb
06.03.14
example for an auth mongo server where a database admin with user and password exist 1. on the source server do: mongodump --db MYDB -u MYUSER -p MYPASSWORD on the destination server do: mongorestore -u MYUSER -p MYPASSWORD --authenticationDatabase admin --db MYDB --drop dump/MYDB
http://stackoverflow.com/questions/8070298/howto-import-dumped-mongodb
Reply
Anonymous
Information Epoch 1779226226
Data dominates.
Home
Notebook
Contact us