跨平台restore问题

win64位db29.5机器的镜像重定向到一台linux64位db29.7机器,报错如下:

[db2inst1@wl01 programs]$ db2 "restore db hyl3 from /tmp/programs into l3td redirect generate script restore.l3td without rolling forward"

SQL2570N  An attempt to restore on target OS "Linux-x86-64" from a backup
created on source OS "NT-32" failed due to the incompatibility of operating
systems or an incorrect specification of the restore command.  Reason-code:
"1".


在linux64位机器上执行db2level结果如下:
[db2inst1@wl01 programs]$ db2level
DB21085I  Instance "db2inst1" uses "64" bits and DB2 code release "SQL09075"
with level identifier "08060107".
Informational tokens are "DB2 v9.7.0.5", "s111017", "IP23292", and Fix Pack
"5".
Product is installed at "/opt/ibm/db2/V9.7".


在win64位机器上执行db2level结果如下:
C:Program Files (x86)IBMSQLLIBBIN>db2level
DB21085I  实例 "DB2" 使用 "32" 位和 DB2 代码发行版 "SQL09057",级别标识为
"06080107"。
参考标记为 "DB2 v9.5.700.579"、"s101129" 和 "IP23137",修订包为 "7"。
产品使用 DB2 副本名 "DB2COPY1" 安装在 "C:PROGRA~2IBMSQLLIB" 中。

这样能restore吗?
参与9

8同行回答

gutiejungutiejun软件开发工程师oracle
同样的问题,学习一下。显示全部
同样的问题,学习一下。收起
互联网服务 · 2013-03-04
浏览1477
kanmainokanmainoIT支持福建电子
谢谢,指点。SIGNATURE:--------------------------------------------We never know the worth of water till the well is dry. nike free run 2    ,    nike lunareclipse 2   ,    air max 2012显示全部
谢谢,指点。














SIGNATURE:--------------------------------------------
We never know the worth of water till the well is dry.
nike free run 2    ,    nike lunareclipse 2   ,    air max 2012收起
IT分销/经销 · 2012-03-01
浏览1556
xu5762173xu5762173数据库管理员Ess
回复 6# weiruan85     3Q显示全部
回复 6# weiruan85


    3Q收起
证券 · 2012-02-28
浏览1433
weiruan85weiruan85数据库管理员ibm
回复 5# xu5762173 A database backup from one platform family can be restored on any system within the same platform family. For Windows operating systems, you can restore a database created on DB2 Universal Database(UDB) V8 on a DB2 Version 9 databas...显示全部
回复 5# xu5762173


A database backup from one platform family can be restored on any system within the same platform family. For Windows operating systems, you can restore a database created on DB2 Universal Database(UDB) V8 on a DB2 Version 9 database system. For Linux and UNIX operating systems, as long as the endianness (big endian or little endian) of the backup and restore platforms is the same, you can restore backups that were produced on DB2 UDB V8 on DB2 Version 9.
The following table shows each of the Linux and UNIX platforms DB2 supports and indicates whether the platforms are big endian or little endian:
Table 1. Endianness of supported Linux and UNIX operating systems DB2 supportsPlatform         Endianness
AIX®         big endian
HP-UX         big endian
HP on IPF         big endian
Solaris Operating environment         big endian
Linux on zSeries         big endian
Linux on Power PC         big endian
Linux on IA-64         little endian
Linux on AMD64 and Intel® EM64T         little endian
32-bit Linux on x86         little endian

只要endian 一样 ,就可以restore收起
政府机关 · 2012-02-28
浏览1494
xu5762173xu5762173数据库管理员Ess
win、linux和unix的runtime都不一样 ,这三类互相不能restore 但unix间可以restore,比如hpux往aix和solaris都可以restore显示全部
win、linux和unix的runtime都不一样 ,这三类互相不能restore
但unix间可以restore,比如hpux往aix和solaris都可以restore收起
证券 · 2012-02-28
浏览1472
xu5762173xu5762173数据库管理员Ess
没想到backup+restore会与runtime有关系,看来只能用db2look+db2move了显示全部
没想到backup+restore会与runtime有关系,看来只能用db2look+db2move了收起
证券 · 2012-02-28
浏览1495
synclijunsynclijun软件开发工程师topnet
很明显,操作系统不兼容显示全部
很明显,操作系统不兼容收起
互联网服务 · 2012-02-28
浏览1416
jimmyjimmy数据仓库工程师招行软件中心
跨平台不能用restore方式,用db2look+db2move显示全部
跨平台不能用restore方式,用db2look+db2move收起
银行 · 2012-02-28
浏览1404

提问者

xu5762173
数据库管理员Ess
擅长领域: 服务器数据库存储

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2012-02-28
  • 关注会员:1 人
  • 问题浏览:8591
  • 最近回答:2013-03-04
  • X社区推广