To do remap_schema you need to be DBA
impdp system/admin remap_schema=usr1:usr2 directory=test_dir dumpfile=usr1.dmp
Main Topics
Browse All Topicsfile to be impdp is in the folder 'C:\exportfile'
need to import a db from user usr1 to usr2
aslo before i do the impdp
I will create a directory
sql> create directory test_dir as 'C:\exportdp'; and put the file in the test_dir director .
grant the privs to the user on this direcoty.
then run the
impdp me/pass remap_shema=usr1:usr2 directory=test_dir ?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
don't forgot that you also need to specify the name of the DMP file(s). So:
Note: Unprivileged users can only perform schema remaps if the target schema is their schema. This may be an issue for you, since the above in not true in your post (target schema is USR2, *not* ME). Privileged users have no schema mapping restrictions.
I created a directory data_dt and created a user ABC grant read ,write on directory data_dt to user ABC, also user ABC has fill import database priv and aslo dba priv
I have datain the location d:\exp\backup' directory and
created directory as mentioned above as
create directory data_dt as 'D:\exp\backup'
c> impdp abc/xxxx remap_schema=usr1:usr2 directory=data_dt dumpfile=expfile.dmp
what do you see wrong here?
yes it is
C:\Documents and Settings\1>impdp dcd0014/paki remap_schema=CUST:CUST_NEW
ectory=test dumpfile=cust.dmp
Import: Release 11.1.0.6.0 - Production on Friday, 02 September, 2009 21:28:35
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Produc
tion
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 488
ORA-29283: invalid file operation
No points for this comment, just an additional observation ...
>> ORA-39070: Unable to open the log file.
Running IMPDP in this case is trying to generate a log file (default import.log, in the directory specified by the DIRECTORY parameter) for the session since the default of the parameter NOLOGFILE is Y, and you've not specified that parameter.
Either way, IMPDP cannot read the dumpfile, or create the log file.
mrjoltcola is correct, show us the results of DBA_DIRECTORIES
Business Accounts
Answer for Membership
by: taazPosted on 2009-09-04 at 08:39:16ID: 25260672
aslo before i do the impdp
I will create a directory
sql> create directory test_dir as 'C:\exportdp';
and grant the privs to the user on this direcoty.
and then run the
impdp me/pas remap_schema=usr1:usr2 direcoty= test_dir?