mongodb的一些操作

mongodump -d dbname -c tables/collections name

mongorestore -d -c  path

log是个好东西,要学会时刻从log中找出错原因

你可能感兴趣的:(c,mongodb)