Expdp/Impdp in Oracle 12c [message #641024] |
Sun, 09 August 2015 14:51  |
 |
krish96
Messages: 74 Registered: October 2012
|
Member |
|
|
Hello Experts,
I am trying to take an export of a schema from 12c PDB using these parameters in par file..
USERID="/ as sysdba"
DIRECTORY=DATA_PUMP_DIR
DUMPFILE=expdp_PDBUSR.dmp
LOGFILE=expdp_PDBUSR.log
SCHEMAS=PDBUSR
and I am Getting error...
Export: Release 12.1.0.2.0 - Production on Sun Aug 9 15:48:59 2015
Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
ORA-39001: invalid argument value
ORA-39170: Schema expression 'PDBUSR' does not correspond to any schemas.
Please help me with expdp parameters.. and i am new to 12c..
Thanks in advance..
|
|
|
Re: Expdp/Impdp in Oracle 12c [message #641025 is a reply to message #641024] |
Sun, 09 August 2015 15:02   |
John Watson
Messages: 8966 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
You are connecting to the root container, but your schema is in a pluggable container. You need to connect through the PDB's service, though the listener, not using "/as sysdba".
|
|
|
|
Re: Expdp/Impdp in Oracle 12c [message #641027 is a reply to message #641026] |
Sun, 09 August 2015 15:19   |
John Watson
Messages: 8966 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Now it is time for you to think. What makes you think that PDBDBA, whoever he is, has the necessary privileges? What views are you going to query to find out what privileges he hs? What privileges will he need?
|
|
|
|
Re: Expdp/Impdp in Oracle 12c [message #641195 is a reply to message #641194] |
Tue, 11 August 2015 12:48  |
 |
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
which OS USER owns both folders "/DBBackup/Backup" ?
What is OS file system protection mask on these 2 directories?
which OS user is responsible for creating the log file?
Compare & contrast file/directory ownership between source system (expdp) and target system (impdp) & protection masks on them.
|
|
|