【文件属性】:
文件名称:mmb:moa mongodb备份
文件大小:365KB
文件格式:ZIP
更新时间:2021-05-07 07:44:11
JavaScript
mmb
mmb = moa mongodb backup, backup data to a dirname that generated by momentjs's date format
Install
[sudo] npm install -g mmb
Usages
mmb init
导出
mmb
导入(警告,此处会覆盖数据,请谨慎操作)
mmi 2015-08-23_23:09
授权
mmb --auth sang/0000
Config
when mmb init, this will create a mongo.config.json
"host": 127.0.0.1
"port": 27017
"db": database name
"dirname": dirname that generated by momentjs's date format, see
Cont
【文件预览】:
mmb-master
----.gitignore(530B)
----README.md(1KB)
----test()
--------index.test.js(1KB)
--------mmi.test.js(1KB)
--------mmb.test.js(674B)
--------mongo.config.json(94B)
----tpl_mmi.js(227B)
----prototype.sh(149B)
----LICENSE(1KB)
----package.json(679B)
----tpl.js(226B)
----index.js(3KB)
----mongo.config.json(96B)
----tpl_auth.js(276B)
----doc()
--------1.png(174KB)
--------2.png(214KB)
----README.zh.md(6KB)
----mmi.js(3KB)