源端: 192.168.6.10 db
目标端:192.168.6.11 db10g
从192.168.6.10中exp导出两张表,其中通过scp将dmp文件拷贝至192.168.6.11服务器后imp导入错误,提示文件头有异常
源端服务器导出如下:
[oracle@db ~]$ exp test/test file='/home/oracle/test.dmp' tables=t1,test
Export: Release 11.2.0.4.0 - Production on Thu Mar 24 12:57:18 2016
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses ZHS16GBK character set (possible charset conversion)
About to export specified tables via Conventional Path ...
. . exporting table T1 &n
目标端:192.168.6.11 db10g
从192.168.6.10中exp导出两张表,其中通过scp将dmp文件拷贝至192.168.6.11服务器后imp导入错误,提示文件头有异常
源端服务器导出如下:
[oracle@db ~]$ exp test/test file='/home/oracle/test.dmp' tables=t1,test
Export: Release 11.2.0.4.0 - Production on Thu Mar 24 12:57:18 2016
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses ZHS16GBK character set (possible charset conversion)
About to export specified tables via Conventional Path ...
. . exporting table T1 &n

本文记录了一个Oracle数据库跨服务器备份恢复过程中遇到的问题。在从192.168.6.10导出并scp到192.168.6.11后,导入时出现文件头异常错误。尽管源端导入正常,但在目标端10g版本数据库上导入失败。解决方案包括使用bin模式的FTP传输和定期验证备份文件的可恢复性。
最低0.47元/天 解锁文章
1083

被折叠的 条评论
为什么被折叠?



