2021-12-13 19:30:44 [INFO] [CDbBackup::BackupAllDataBase] Begin to manual backup all databases. Backup directory: C:\Users\Administrator\Documents 2021-12-13 19:30:44 [INFO] [CDbBackup::BackupAllDataBase] ServerCount = 1 2021-12-13 19:30:44 [INFO] [CDbBackup::BackupAllDataBase] Path: 127.0.0.1@aclm_db_imc_aclm_db_20211213_193044_full.db 2021-12-13 19:30:44 [INFO] [CDbBackup::BackupOneLocalDBase] Ready to backup `C:\Users\Administrator\Documents\127.0.0.1@aclm_db_imc_aclm_db_20211213_193044_full.db' 2021-12-13 19:30:44 [DEBUG] [CDbBase::ExecSql] Input sql: BACKUP DATABASE aclm_db TO DISK = 'C:\Users\Administrator\Documents\127.0.0.1@aclm_db_imc_aclm_db_20211213_193044_full.db' WITH INIT GO 2021-12-13 19:30:44 [DEBUG] [WriteFile] Write file E:\Program Files\iMC\dbman\bin\dbop.sql. 2021-12-13 19:30:44 [INFO] [runCommand] runCommand result FAIL. ret=1, errno=0, WIFEXITED(ret)=1, WEXITSTATUS(ret)=1 2021-12-13 19:30:44 [DEBUG] [CDbBase::ExecSql] Exec command: osql -b -S127.0.0.1,1433 -dmaster -U"sa" -P"iMC-Install2008" -n -o"E:\Program Files\iMC\dbman\bin\dbop.sql.log" -i"E:\Program Files\iMC\dbman\bin\dbop.sql" 2021-12-13 19:30:44 [ERROR] [CDbBase::ExecSql] Exec command fail 2021-12-13 19:30:44 [ERROR] [int ReadFile()] Read file E:\Program Files\iMC\dbman\bin\dbop.sql.log fail. 2021-12-13 19:30:44 [DEBUG] [CDbBase::ExecSql] Exec sql log: 2021-12-13 19:30:44 [INFO] [Remove] Fail to remove file: E:\Program Files\iMC\dbman\bin\dbop.sql.log 2021-12-13 19:30:44 [DEBUG] [Remove] Remove file: E:\Program Files\iMC\dbman\bin\dbop.sql 2021-12-13 19:30:44 [ERROR] [CDbBackup::BackupOneLocalDBase] Fail to backup `C:\Users\Administrator\Documents\127.0.0.1@aclm_db_imc_aclm_db_20211213_193044_full.db'. 2021-12-13 19:30:44 [INFO] [sendTrapAlert] Send trap success 2021-12-13 19:30:44 [WARNING] [CDbBackup::BackupAllDataBase] Backup database: aclm_db failed 2021-12-13 19:30:44 [ERROR] [ManualBackupDase] manual backing fail 2021-12-13 19:30:44 [ERROR] [response_err_code] errCode = -1
imc数据库在备份时报这个错, 是因为不能写盘吗
(0)
最佳答案
看日志看,是读E:\Program Files\iMC\dbman\bin\这个路径失败,可能是权限不够导致的,具体分析可以拨打400求助。
(0)
已经解决, 备份目录不要带中文, 不要放在administrator目录下, 在任务管理器中杀一下dbman进程, 他会自动重启
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
已经解决, 备份目录不要带中文, 不要放在administrator目录下, 在任务管理器中杀一下dbman进程, 他会自动重启