SQL> conn sys/root
Connected to Oracle Database 11g Enterprise Edition Release 11.1.0.7.0
Connected as SYSSQL> create directory dump_test as '/u01/oracle11g';Directory createdSQL> grant read, write on directory dump_test to test;Grant succeededSQL> commit;Commit complete
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.C:\Documents and Settings\anonymous>expdp test/joyce directory=dump_test dumpfil
e=user.dmpExport: Release 11.1.0.7.0 - Production on 星期五, 28 8月, 2009 11:27:26Copyright (c) 2003, 2007, Oracle. All rights reserved.连接到: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39002: 操作无效
ORA-39070: 无法打开日志文件。
ORA-29283: 文件操作无效
ORA-06512: 在 "SYS.UTL_FILE", line 536
ORA-29283: 文件操作无效Oracle 11g为什么用EXPDP备份,老是出错,我刚学的,还有impdp能覆盖原有的数据吗?希望好心人帮忙下解答下,是不是哪里错了或是没弄了,谢谢了,在线等,急 急
Connected to Oracle Database 11g Enterprise Edition Release 11.1.0.7.0
Connected as SYSSQL> create directory dump_test as '/u01/oracle11g';Directory createdSQL> grant read, write on directory dump_test to test;Grant succeededSQL> commit;Commit complete
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.C:\Documents and Settings\anonymous>expdp test/joyce directory=dump_test dumpfil
e=user.dmpExport: Release 11.1.0.7.0 - Production on 星期五, 28 8月, 2009 11:27:26Copyright (c) 2003, 2007, Oracle. All rights reserved.连接到: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39002: 操作无效
ORA-39070: 无法打开日志文件。
ORA-29283: 文件操作无效
ORA-06512: 在 "SYS.UTL_FILE", line 536
ORA-29283: 文件操作无效Oracle 11g为什么用EXPDP备份,老是出错,我刚学的,还有impdp能覆盖原有的数据吗?希望好心人帮忙下解答下,是不是哪里错了或是没弄了,谢谢了,在线等,急 急
ps:听说只能在服务器上进行impdp/expdp,可是以前试过在客户端好像也可以进行操作
create directory dump_test as '/u01/oracle11g'
这个明显是unix系统的路径格式
可是你在windows上使用
+日志,你可以在命令中用logfile=......还有就是你没指定要导出什么tables,tablespaces,schemas或full至少要指定一个
如果你在客户端连接,你的连接应该跟个@net服务名
Export: Release 10.2.0.1.0 - Production on 星期五, 28 8月, 2009 15:51:32Copyright (c) 2003, 2005, Oracle. All rights reserved.
;;;
连接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Starting "SCOTT"."SYS_EXPORT_SCHEMA_01": scott/********@test directory=dump dumpfile=test_08.dm
p logfile=test_08.log schemas='scott'parallel=3
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 640 KB
. . exported "SCOTT"."TEST2" 204.0 KB 12002 rows
. . exported "SCOTT"."TEST1" 7.742 KB 12 rows
. . exported "SCOTT"."DEPT" 5.656 KB 4 rows
. . exported "SCOTT"."EMP" 7.742 KB 12 rows
. . exported "SCOTT"."SALGRADE" 5.585 KB 5 rows
. . exported "SCOTT"."BONUS" 0 KB 0 rows
. . exported "SCOTT"."TEST3" 0 KB 0 rows
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/VIEW/VIEW
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Master table "SCOTT"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
******************************************************************************
Dump file set for SCOTT.SYS_EXPORT_SCHEMA_01 is:
/database/oracle/expdp/test_08.dmp
Job "SCOTT"."SYS_EXPORT_SCHEMA_01" successfully completed at 15:51:46这是第8次在客户端测试使用expdp的日志,为什么很多资料都说只能在服务端使用,不能在客户端使用,莫名其妙......