arkdb / inception

一个集审核、执行、备份及生成回滚语句于一身的MySQL自动化运维工具
GNU General Public License v2.0
1.86k stars 1.32k forks source link

没有备份 #50

Closed benben17 closed 6 years ago

benben17 commented 6 years ago

inception 的备份信息已经配置如下: inception_remote_system_password=inception_web inception_remote_system_user=inception_web inception_remote_backup_port=8801 inception_remote_backup_host=10.10.xx.xx

通过python 执行命令返回如下。 但是在对应的备份数据库上没有看到 192_168_27_54_3331_DB_CAMPUS_V2这个备份数据库

['ID', 'stage', 'errlevel', 'stagestatus', 'errormessage', 'SQL', 'Affected_rows', 'sequence', 'backup_dbname', 'execute_time', 'sqlsha1'] ((1L, 'RERUN', 0L, 'Execute Successfully', 'None', 'use DB_CAMPUS_V2', 0L, "'1511160402_12233_0'", 'None', '0.010', ''), (2L, 'EXECUTED', 0L, 'Execute Successfully', 'None', 'insert into tmp_table(resume_id,wish_id,CR_RESUME_ID) values(211,223,223)', 1L, "'1511160402_12233_1'", '192_168_27_54_3331_DB_CAMPUS_V2', '0.030', '')) [Finished in 1.2s]

fanlifei commented 6 years ago

没有备份的问题解决了吗,我这里也是执行成功但是没有备份,所有参数都配置了

benben17 commented 6 years ago

需要执行主机开启binlog 的 ,没有binlog 就没有备份,不知道你的是不是这个问题