-P %s %s -t 5 -o %s"
'''''
功能描述:
1. mydumper 远程批量备份, 备份列表由配置文件提供
2....else ''
# 从配置文件读取 ip, 名称, 端口, 并拼凑备份语句
#f = open('/data2/backup/cnf/other_list.cnf', 'r...host, businessName, port, isMaster = str[0], str[1], str[2], str[3]
# 业务文件夹不存在则创建..., 备份文件标记为重备 字样
retry_file = oldfile[:pos] + "ReBackup-" + oldfile[pos:]
retryCmd...retryCmd, retry_file.strip(), name, host, port, False, isMaster)
def getDirsize(path):
# 获取备份文件夹大小