-
首次运行会提示让用阿里云盘APP扫码登陆
-
需要先配置
config.py
文件及 -
然后配置
main.py
中的db_export_config
, key 是文件名,value 中的db
是 要备份的数据库的名字 -
然后 安装环境,
pip install -r requirements.txt
-
首次运行需要先运行
python main.py
进行扫码登录 -
后面运行
sh db_backup_auto_start.sh
或者nohup python main.py &
皆可 -
如有配置消息通知, 则消息中会包含: 上传的文件名, 文件所在的目录名字, 文件下载链接, 云盘的剩余空间
-
Notifications
You must be signed in to change notification settings - Fork 0
mysql 数据库 定时/实时 备份数据库到阿里云盘,备份成功后消息可通知到钉钉群、企业微信群、wxpusher
License
gwt805/db_backup_script
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
mysql 数据库 定时/实时 备份数据库到阿里云盘,备份成功后消息可通知到钉钉群、企业微信群、wxpusher
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published