I was trying to export the schema
in my windows PC, it got stuck with below error
C:\Users\shaik\Videos\technodba exp>expdp
userid=techno_user@technopdb directory=export_dir
dumpfile=expdp_techno_users.dmp logfile=expdp_techno_users.log
Export: Release 19.0.0.0.0 - Production on Wed Jun 1 16:13:15 2022
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights
reserved.
Password:
Connected to: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0
- Production
ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-29283: invalid file operation: unexpected "LFI" error
(1509)[29437]
On further investigation found that,
the directory I had created and pointed out does not have write permission to
it, Though I was part of admin group for my PC, it was not allowing oracle to
write in C drive.
once I changed directory
location, I was able to perform export.
C:\Users\shaik\Videos\technodba exp>expdp
userid=techno_user@technopdb directory=export_dir
dumpfile=expdp_techno_users.dmp logfile=expdp_techno_users.log
Export: Release 19.0.0.0.0 - Production on Wed Jun 1 20:54:31 2022
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights
reserved.
Password:
Connected to: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0
- Production
Starting "TECHNO_USER"."SYS_EXPORT_SCHEMA_01":
userid=techno_user/********@technopdb directory=export_dir
dumpfile=expdp_techno_users.dmp logfile=expdp_techno_users.log
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Processing object type
SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type SCHEMA_EXPORT/STATISTICS/MARKER
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/TABLE/AUDIT_OBJ
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
. . exported "TECHNO_USER"."DEPTS"
393.4
KB 12002 rows
. . exported "TECHNO_USER"."DUMMY"
5.085
KB 3 rows
. . exported "TECHNO_USER"."DUMMY1"
5.085 KB
2 rows
. . exported "TECHNO_USER"."EMPLOYEES"
393.4 KB
12002 rows
. . exported "TECHNO_USER"."PERSONS"
425.6 KB
13002 rows
Master table "TECHNO_USER"."SYS_EXPORT_SCHEMA_01"
successfully loaded/unloaded
******************************************************************************
Dump file set for TECHNO_USER.SYS_EXPORT_SCHEMA_01 is:
C:\DOWNLOADS\ARCH\EXPDP_TECHNO_USERS.DMP
Job "TECHNO_USER"."SYS_EXPORT_SCHEMA_01"
successfully completed at Wed Jun 1 20:54:56 2022 elapsed 0 00:00:20
C:\Users\shaik\Videos\technodba exp>
My issue resolved by putting the dump file on the default location (D:\App\oracle\Product\19.3.0\db_1\rdbms\log )
ReplyDeleteglad to hear that, I believe this is default location for export dump and log
ReplyDelete