简体   繁体   English

无法还原数据库备份DB2

[英]unable to restore database backup DB2

I'm having a DB2 database backup which was done on DB 9 version 我正在执行在DB 9版本上完成的DB2数据库备份

MYDBASE.0.DB2.NODE0000.CATN0000.20120706000435.002 MYDBASE.0.DB2.NODE0000.CATN0000.20120706000435.002

having extension like 002 扩展名如002

I'm unable to restore that into DB2 version 10.5 我无法将其还原到DB2 10.5版中

please help me .... 请帮我 ....

Firstly, you should define what "unable to restore" means. 首先,您应该定义“无法还原”的含义。 For example, if your computer were turned off, you would be unable to restore anything. 例如,如果您的计算机已关闭,则将无法还原任何内容。 Is this the case? 是这样吗

Secondly, there was no "DB2 9 version" on LUW. 其次,LUW上没有“ DB2 9版本”。 Is it 9.1, 9.5, 9.7, or 9.8 that you are referring to? 您指的是9.1、9.5、9.7或9.8?

Upgrade to DB2 10.5 is possible from DB2 9.7 and up on Linux and Unix, and from 10.1 on Windows. 可以从Linux和Unix上的DB2 9.7及更高版本以及Windows上的10.1升级到DB2 10.5。

Another thing to note is that the backup file you've shown appears to be only one of the set of at least two, as indicated by the .002 extension. 要注意的另一件事是,您显示的备份文件似乎只是至少两个文件中的一个,如.002扩展名所示。 I'd expect there to be also the file named MYDBASE.0.DB2.NODE0000.CATN0000.20120706000435.001 . 我希望还有一个名为MYDBASE.0.DB2.NODE0000.CATN0000.20120706000435.001的文件。

As mentioned by mustaccio, there will be one more file which will be ending with .001 . 正如mustaccio所提到的,将会有另一个文件以.001结尾。 Also you can check test the integrity of a backup image and to determine whether or not the image can be restored by the below command 您也可以检查备份映像的完整性,并确定是否可以通过以下命令还原该映像

db2ckbkp backup file name

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM