返回 首页

backup and restore mongodb data


backup:

mongodump -h dbhost -d xianxia -o dir

restore

mongorestore -d  xianxia dir/xianxia


评论(0)

登录