最佳答案
看下dbman/log下的dbman_debug日志
(0)
这是几天早上备份失败的dbman_debug日志 2018-05-10 04:00:00 [INFO] [TimeBackup] Begin auto backup 2018-05-10 04:00:00 [INFO] [Remove] Fail to remove file: D:/Program Files/iMC/dbman\etc\dbman_bak.conf 2018-05-10 04:00:00 [INFO] [CDbBackup::BackupAllDataBase] Begin to auto backup all databases 2018-05-10 04:00:00 [INFO] [CDbBackup::BackupAllDataBase] Path: 127.0.0.1@aclm_db_imc_aclm_db_20180510_040000_full.db 2018-05-10 04:00:00 [ERROR] [locateDb] Can not find strKey: 127.0.0.1@aclm_db_imc_aclm 2018-05-10 04:00:00 [ERROR] [CDbBackup::BackupAllDataBase] Fail to found DB file config information 127.0.0.1@aclm_db_imc_aclm 2018-05-10 04:00:00 [INFO] [CDbBackup::BackupOneLocalDBase] Ready to backup `E:\imcbak\127.0.0.1@aclm_db_imc_aclm_db_20180510_040000_full.db' 2018-05-10 04:00:00 [DEBUG] [CDbBase::ExecSql] Input sql: BACKUP DATABASE aclm_db TO DISK = 'E:\imcbak\127.0.0.1@aclm_db_imc_aclm_db_20180510_040000_full.db' WITH INIT GO 2018-05-10 04:00:00 [DEBUG] [WriteFile] Write file D:\Program Files\iMC\dbman\bin\dbop.sql. 2018-05-10 04:00:01 [INFO] [runCommand] runCommand result. ret=0.errno=2 2018-05-10 04:00:01 [DEBUG] [CDbBase::ExecSql] Exec sql log: 已为数据库 'aclm_db',文件 'PRMDATA01' (位于文件 1 上)处理了 216 页。 已为数据库 'aclm_db',文件 'PRMDATA02' (位于文件 1 上)处理了 56 页。 已为数据库 'aclm_db',文件 'PRMDATA03' (位于文件 1 上)处理了 40 页。 已为数据库 'aclm_db',文件 'LOG01' (位于文件 1 上)处理了 2 页。 BACKUP DATABASE 成功处理了 314 页,花费 0.251 秒(9.750 MB/秒)。 2018-05-10 04:00:01 [DEBUG] [Remove] Remove file: D:\Program Files\iMC\dbman\bin\dbop.sql.log 2018-05-10 04:00:01 [DEBUG] [Remove] Remove file: D:\Program Files\iMC\dbman\bin\dbop.sql 2018-05-10 04:00:01 [INFO] [CDbBackup::BackupOneLocalDBase] Success to backup 'E:\imcbak\127.0.0.1@aclm_db_imc_aclm_db_20180510_040000_full.db' 2018-05-10 04:00:01 [INFO] [CDbBackup::BackupOneLocalDBase] ifAuto: 1;ifTrans: 0;bakDbIp: ,bakDBReceivePath: 2018-05-10 04:00:01 [INFO] [CDbBackup::BackupAllDataBase] Path: 127.0.0.1@cmdb_new_db_imc_cmdb_new_db_20180510_040000_full.db 2018-05-10 04:00:01 [ERROR] [locateDb] Can not find strKey: 127.0.0.1@cmdb_new_db_imc_cmdb_new 2018-05-10 04:00:01 [ERROR] [CDbBackup::BackupAllDataBase] Fail to found DB file config information 127.0.0.1@cmdb_new_db_imc_cmdb_new 2018-05-10 04:00:01 [INFO] [CDbBackup::BackupOneLocalDBase] Ready to backup `E:\imcbak\127.0.0.1@cmdb_new_db_imc_cmdb_new_db_20180510_040000_full.db' 2018-05-10 04:00:01 [DEBUG] [CDbBase::ExecSql] Input sql: BACKUP DATABASE cmdb_new_db TO DISK = 'E:\imcbak\127.0.0.1@cmdb_new_db_imc_cmdb_new_db_20180510_040000_full.db' WITH INIT GO 2018-05-10 04:00:01 [DEBUG] [WriteFile] Write file D:\Program Files\iMC\dbman\bin\dbop.sql. 2018-05-10 04:00:01 [INFO] [runCommand] runCommand result. ret=1.errno=2 2018-05-10 04:00:01 [ERROR] [CDbBase::ExecSql] Exec command fail 2018-05-10 04:00:01 [DEBUG] [CDbBase::ExecSql] Exec sql log: 消息 911,级别 16,状态 11,服务器 WIN-P06U9S6SQBI,第 1 行 数据库 'cmdb_new_db' 不存在。请确保正确地输入了该名称。 消息 3013,级别 16,状态 1,服务器 WIN-P06U9S6SQBI,第 1 行 BACKUP DATABASE 正在异常终止。 2018-05-10 04:00:01 [DEBUG] [Remove] Remove file: D:\Program Files\iMC\dbman\bin\dbop.sql.log 2018-05-10 04:00:01 [DEBUG] [Remove] Remove file: D:\Program Files\iMC\dbman\bin\dbop.sql 2018-05-10 04:00:01 [ERROR] [CDbBackup::BackupOneLocalDBase] Fail to backup `E:\imcbak\127.0.0.1@cmdb_new_db_imc_cmdb_new_db_20180510_040000_full.db'. 2018-05-10 04:00:01 [INFO] [sendTrapAlert] Send trap success 2018-05-10 04:00:01 [WARNING] [CDbBackup::BackupAllDataBase] Backup database: cmdb_new_db failed 2018-05-10 04:00:01 [ERROR] [TimeBackup] Auto backup all db failed
这是几天早上备份失败的dbman_debug日志 2018-05-10 04:00:00 [INFO] [TimeBackup] Begin auto backup 2018-05-10 04:00:00 [INFO] [Remove] Fail to remove file: D:/Program Files/iMC/dbman\etc\dbman_bak.conf 2018-05-10 04:00:00 [INFO] [CDbBackup::BackupAllDataBase] Begin to auto backup all databases 2018-05-10 04:00:00 [INFO] [CDbBackup::BackupAllDataBase] Path: 127.0.0.1@aclm_db_imc_aclm_db_20180510_040000_full.db 2018-05-10 04:00:00 [ERROR] [locateDb] Can not find strKey: 127.0.0.1@aclm_db_imc_aclm 2018-05-10 04:00:00 [ERROR] [CDbBackup::BackupAllDataBase] Fail to found DB file config information 127.0.0.1@aclm_db_imc_aclm 2018-05-10 04:00:00 [INFO] [CDbBackup::BackupOneLocalDBase] Ready to backup `E:\imcbak\127.0.0.1@aclm_db_imc_aclm_db_20180510_040000_full.db' 2018-05-10 04:00:00 [DEBUG] [CDbBase::ExecSql] Input sql: BACKUP DATABASE aclm_db TO DISK = 'E:\imcbak\127.0.0.1@aclm_db_imc_aclm_db_20180510_040000_full.db' WITH INIT GO 2018-05-10 04:00:00 [DEBUG] [WriteFile] Write file D:\Program Files\iMC\dbman\bin\dbop.sql. 2018-05-10 04:00:01 [INFO] [runCommand] runCommand result. ret=0.errno=2 2018-05-10 04:00:01 [DEBUG] [CDbBase::ExecSql] Exec sql log: 已为数据库 'aclm_db',文件 'PRMDATA01' (位于文件 1 上)处理了 216 页。 已为数据库 'aclm_db',文件 'PRMDATA02' (位于文件 1 上)处理了 56 页。 已为数据库 'aclm_db',文件 'PRMDATA03' (位于文件 1 上)处理了 40 页。 已为数据库 'aclm_db',文件 'LOG01' (位于文件 1 上)处理了 2 页。 BACKUP DATABASE 成功处理了 314 页,花费 0.251 秒(9.750 MB/秒)。 2018-05-10 04:00:01 [DEBUG] [Remove] Remove file: D:\Program Files\iMC\dbman\bin\dbop.sql.log 2018-05-10 04:00:01 [DEBUG] [Remove] Remove file: D:\Program Files\iMC\dbman\bin\dbop.sql 2018-05-10 04:00:01 [INFO] [CDbBackup::BackupOneLocalDBase] Success to backup 'E:\imcbak\127.0.0.1@aclm_db_imc_aclm_db_20180510_040000_full.db' 2018-05-10 04:00:01 [INFO] [CDbBackup::BackupOneLocalDBase] ifAuto: 1;ifTrans: 0;bakDbIp: ,bakDBReceivePath: 2018-05-10 04:00:01 [INFO] [CDbBackup::BackupAllDataBase] Path: 127.0.0.1@cmdb_new_db_imc_cmdb_new_db_20180510_040000_full.db 2018-05-10 04:00:01 [ERROR] [locateDb] Can not find strKey: 127.0.0.1@cmdb_new_db_imc_cmdb_new 2018-05-10 04:00:01 [ERROR] [CDbBackup::BackupAllDataBase] Fail to found DB file config information 127.0.0.1@cmdb_new_db_imc_cmdb_new 2018-05-10 04:00:01 [INFO] [CDbBackup::BackupOneLocalDBase] Ready to backup `E:\imcbak\127.0.0.1@cmdb_new_db_imc_cmdb_new_db_20180510_040000_full.db' 2018-05-10 04:00:01 [DEBUG] [CDbBase::ExecSql] Input sql: BACKUP DATABASE cmdb_new_db TO DISK = 'E:\imcbak\127.0.0.1@cmdb_new_db_imc_cmdb_new_db_20180510_040000_full.db' WITH INIT GO 2018-05-10 04:00:01 [DEBUG] [WriteFile] Write file D:\Program Files\iMC\dbman\bin\dbop.sql. 2018-05-10 04:00:01 [INFO] [runCommand] runCommand result. ret=1.errno=2 2018-05-10 04:00:01 [ERROR] [CDbBase::ExecSql] Exec command fail 2018-05-10 04:00:01 [DEBUG] [CDbBase::ExecSql] Exec sql log: 消息 911,级别 16,状态 11,服务器 WIN-P06U9S6SQBI,第 1 行 数据库 'cmdb_new_db' 不存在。请确保正确地输入了该名称。 消息 3013,级别 16,状态 1,服务器 WIN-P06U9S6SQBI,第 1 行 BACKUP DATABASE 正在异常终止。 2018-05-10 04:00:01 [DEBUG] [Remove] Remove file: D:\Program Files\iMC\dbman\bin\dbop.sql.log 2018-05-10 04:00:01 [DEBUG] [Remove] Remove file: D:\Program Files\iMC\dbman\bin\dbop.sql 2018-05-10 04:00:01 [ERROR] [CDbBackup::BackupOneLocalDBase] Fail to backup `E:\imcbak\127.0.0.1@cmdb_new_db_imc_cmdb_new_db_20180510_040000_full.db'. 2018-05-10 04:00:01 [INFO] [sendTrapAlert] Send trap success 2018-05-10 04:00:01 [WARNING] [CDbBackup::BackupAllDataBase] Backup database: cmdb_new_db failed 2018-05-10 04:00:01 [ERROR] [TimeBackup] Auto backup all db failed
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明