将启用了TDE的SQL Server 2008 R2数据库还原到SQL Server 2014时出错

时间:2017-05-01 20:46:37

标签: sql-server sql-server-2008 sql-server-2008-r2 sql-server-2014 tde

我在SQL Server 2008 R2中启用了透明数据加密(TDE)数据库。我可以将其备份成功还原到另一个SQL Server 2008 R2实例。但是,当我还原到SQL Server 2014 SP2的实例时,数据库处于“恢复挂起”模式。这是错误:

100 percent processed.
Processed 224 pages for database 'MyDatabase', file 'MyDatabaseBeta' on file 1.
Processed 2 pages for database 'MyDatabase', file 'MyDatabaseBeta_log' on file 1.
Converting database 'MyDatabase' from version 661 to the current version 782.
Database 'MyDatabase' running the upgrade step from version 661 to version 668.
Database 'MyDatabase' running the upgrade step from version 668 to version 669.
Msg 9001, Level 16, State 5, Line 52
The log for database 'MyDatabase' is not available. Check the event log for related error messages. Resolve any errors and restart the database.
Msg 3314, Level 16, State 3, Line 52
During undoing of a logged operation in database 'MyDatabase', an error occurred at log record ID (97:16:119). Typically, the specific failure is logged previously as an error in the Windows Event Log service. Restore the database or file from a backup, or repair the database.
Msg 3204, Level 16, State 1, Line 52
The backup or restore was aborted.
Msg 3013, Level 16, State 1, Line 52
RESTORE DATABASE is terminating abnormally.
Msg 9001, Level 21, State 4, Line 52
The log for database 'MyDatabase' is not available. Check the event log for related error messages. Resolve any errors and restart the database.
Msg 3314, Level 21, State 5, Line 52
During undoing of a logged operation in database 'MyDatabase', an error occurred at log record ID (97:16:35). Typically, the specific failure is logged previously as an error in the Windows Event Log service. Restore the database or file from a backup, or repair the database.
Msg 0, Level 20, State 0, Line 49
A severe error occurred on the current command.  The results, if any, should be discarded.

你有解决方案吗?我相信这是SQL Server 2014中的一个错误。

1 个答案:

答案 0 :(得分:0)

按照此链接删除TDE并恢复到sql 2014是好的。 http://www.sqlservercentral.com/articles/Security/76141/