介绍使用python结合mysqldump对mysql数据库进行备份 import os import sys import configparser import time def test_file_path(fp): if not os.path.exists(fp): raise RuntimeError('file {} not found'.format(fp)) def backup_mysqldb(backup_param): test_file_path(backup_para…