I want to take the back up of my local Oracle instance and want it to import on my remote server.
I have searched the web but couldn't find any solution. The solution I got is:
- Export from local and import into only local.
- Export from Remote and import into only remote server.
But my requirement is:
I have a schema in my local oracle instance. Now I want to take it's backup and import it on to my remote server.
Below are commands I am running for exporting and importing.
for Local--
expdp HR/HR@ORCL directory=Export SCHEMAS=MUKESH DUMPFILE=MUKESH.dmp LOGFILE=MUKESH.log
impdp HR/HR@ORCL directory=Export SCHEMAS=MUKESH DUMPFILE=MUKESH.dmp LOGFILE=MUKESH.log
for Remote--
expdp FASTAdmin/password@db-m3-medium.coplvukvijdo.us-east-1.rds.amazonaws.com:1521/ORCL network_link=to_rds directory=Data_pump_dir dumpfile=MUKESH.dmp logfile=MUKESH.log SCHEMAS='MUKESH'
impdp FASTAdmin/password@db-m3-medium.coplvukvijdo.us-east-1.rds.amazonaws.com:1521/ORCL directory=DATA_PUMP_DIR dumpfile=MUKESH.dmp logfile=MUKESH.log SCHEMAS=MUKESH
Note:Please give me the solution using expdp and impdp command only.