# mongo_supervisor **Repository Path**: albert_chen/mongo_supervisor ## Basic Information - **Project Name**: mongo_supervisor - **Description**: mongo backup script - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-11-23 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #mongo_supervisor 这个文件是用定时备份mongo数据库,采用使用 crontab 来调度, 我的 ## crontab 配置 ``` $ vim /etc/crontab ``` 按 i 插入 ``` 23 * * * * root /root/py27/bin/python /root/mongo_supervisor/backup_daily.py ``` 按esc退出 编辑模式,然后 输入:wq! 输入 ``` source /etc/crontab ``` 生效