You are on page 1of 10

EXPORTING SCHEMA TO DMP FILE AND IMPORTING IT INTO

OTHER ORACLE DATABASE

Steps:
1. Connect to the source database as a sydba user
2. Finding the location of the DATA_PUMP_DIR
3. Exporting the schema to .dmp file
4. Copying the dump files to target database
5. Connect to the target database
6. Importing .dmp file.

Connect to the source database as a sydba user :


Open command prompt and navigate to %ORACLE_HOME/bin

Finding the location of the DATA_PUMP_DIR :


Issue " select * from dba_directories; " to find the location of the 'DATA_PUMP_DIR'

Here the directory path is C:\app\biapps/admin/orcl/dpdump/


exit from sql prompt

Exporting the schema to .dmp file :


Now export the schema you want to .dmp file as below

Here the exported file is SCOTT.DMP

Copying the dump files to target database :


Connect to target database
Find the DATA_PUMP_DIR path
Copy the exported dmp to target DATA_PUMP_DIR path

Here DATA_PUMP_DIR path is /home/oracle/app/oracle/admin/orcl/dpdump/


Copy scott.dmp to this path

Importing .dmp file :

You might also like