I\'m new to MongoDB and I have hard time to backup my local DB and restore it on my server. I found the link on Mongo\'s website : http://www.mongodb.org/display/DOCS/Import
This is what ended up working for me (mydb is the name of my database):
mydb
mongorestore --drop -db mydb mydbbackup/mydb/
After my mongodump:
mongodump
mongodump -d mydb -o mydbbackup