
MongoDB
iteye_19838
这个作者很懒,什么都没留下…
展开
-
MongoDB 常用命令
create DB use newDBname; create collection db.newCollectionName.insert({m:"test"}); query by time db.DOL_LIVE.find({t:{'$gte':'2011-01-01 09:32:42,485','$lte':'2012-01-01 09:32:42,485'}}); ...原创 2013-05-09 10:45:06 · 108 阅读 · 0 评论 -
备份和恢复MongoDB
1> make sure all process which is writing mongodb are stopped. 2> dump database from GAMONGODB81 sudo ./mongodump --host gamongodb91:27017 --username 'GAEditor' --password '9AEd!t0r' --out /data...2013-05-09 10:50:16 · 94 阅读 · 0 评论