[英]Restoring backup from DB2 9.7 to DB2 10.1
I have installed DB2 version 10.1 on a new machine running Windows Server 2012, and tried to restore a database from a backup made using DB2 version 9.7我在运行 Windows Server 2012 的新机器上安装了 DB2 10.1 版,并尝试从使用 DB2 9.7 版制作的备份中恢复数据库
I got this error while attempting to restore the database尝试恢复数据库时出现此错误
What can I do to restore the database from this backup?我该怎么做才能从此备份还原数据库?
PS Generating DDL is not an option since I don't have access to a running version of the database, neither is restoring the backup to a DB2 9.7 instance since I don't have access to the installation source for DB2 9.7 PS 生成 DDL 不是一个选项,因为我无权访问正在运行的数据库版本,也不能将备份恢复到 DB2 9.7 实例,因为我无权访问 DB2 9.7 的安装源
It is documented as:它被记录为:
Offline full database backups as well as offline incremental
database backups can be restored to a later database version,
whereas online backups cannot.
Here is V10.1 manual page, extracted from:这是 V10.1 手册页,摘自:
RESTORE DATABASE command恢复数据库命令
https://www.ibm.com/support/knowledgecenter/en/SSEPGG_10.1.0/com.ibm.db2.luw.admin.cmd.doc/doc/r0001976.html https://www.ibm.com/support/knowledgecenter/en/SSEPGG_10.1.0/com.ibm.db2.luw.admin.cmd.doc/doc/r0001976.html
Later V11.5 manual same page has the same statement.以后的V11.5手册同页也有同样的说法。 We need an offline backup in this case.
在这种情况下,我们需要离线备份。
Hope this helps.希望这会有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.