从 SnapCenter SQL 备份克隆或还原失败,并显示对象引用错误
适用场景
适用于 SQL 的 SnapCenter 插件( SCSQL ) 4.x
适用于 Windows 的 SnapCenter 插件( SCW ) 4.x
问题描述
在尝试从备份还原或克隆数据库时, SMSQL_ 中会出现以下错误以及先前的日志行<job#>.log :
还原时:
DEBUG SmSql_<RESTORE_JOB#> PID=[<PID>] TID=[70] Starting VDI restore for database [<database>]....
DEBUG SmSql_<RESTORE_JOB#> PID=[<PID>] TID=[70] Recovery: Operational RetainReplication: False
DEBUG SmSql_<RESTORE_JOB#> PID=[<PID>] TID=[70] createClonedDatabase End
ERROR SmSql_<RESTORE_JOB#> PID=[<PID>] TID=[70] Object reference not set to an instance of an object.
ERROR SmSql_<RESTORE_JOB#> PID=[<PID>] TID=[70] Failed to restore. Object reference not set to an instance of an object.
克隆时:
DEBUG SmSql_<CLONE_JOB#> PID=[<PID>] TID=[80] Starting VDI restore for database [<database_Clone>]....
DEBUG SmSql_<CLONE_JOB#> PID=[<PID>] TID=[80] Recovery: Operational RetainReplication: False
DEBUG SmSql_<CLONE_JOB#> PID=[<PID>] TID=[80] createClonedDatabase End
ERROR SmSql_<CLONE_JOB#> PID=[<PID>] TID=[80] Object reference not set to an instance of an object.
ERROR SmSql_<CLONE_JOB#> PID=[<PID>] TID=[80] Failed to refresh the clone. Object reference not set to an instance of an object.