我的一些脚本

2021-06-06

-----manage.py------

"%mongodb_path%\bin\mongo.exe"

------dump.py------

"%mongodb_path%\bin\mongodump.exe" -h localhost --db db_books -o "%mongodb_path%\dump"

-------backup---------

fastcopy /cmd=diff /auto_close "%mongodb_path%\dump" /to="H:\mongodb\dump"

---------run.cmd---------------

"%mongodb_path%\bin\mongod.exe" --config "%mongodb_path%\bin\mongo.conf"

---------restore.cmd---------------

"%mongodb_path%\bin\mongorestore.exe" -h localhost -d db_books "%mongodb_path%\dump\db_books"




联系信息

QQ:1827566828
Email: 1827566828@qq.com
Web: https://www.yynet.wang

留言