On Linux, using oracle 12.1.0.2.0.
My db server (myhost1) has two instances (testdb1, demdb) and one listener.
In both instances, there exist pluggable database pdbx
Following expdp commands always exports the testdb1.pdbx, whats the best way to export demdb.pdbx without having to rename it.
export ORACLE_SID=testdb1
expdp system/mypass@//myhost1:1521/pdbx directory=data_pump SCHEMAS=mysch ....
export ORACLE_SID=demdb
expdp system/mypass@//myhost1:1521/pdbx directory=data_pump SCHEMAS=mysch ....
Or do I have to have different alias in tnsnames file?
Any direction or tips welcome... Thanks.