Friday, 17 February 2017

Command to import and Export Database and users schemas

The following example shows how to export full database
$exp USERID=scott/tiger FULL=y FILE=myfull.dmp

To export Objects stored in a particular schemas you can run export utility with the following arguments
$exp USERID=scott/tiger OWNER=(SCOTT,ALI) FILE=exp_own.dmp

As a DBA user, perform a full export from the source database, for example:
> exp system/manager FULL=y FILE=myfullexp.dmp

As a DBA user, perform a full import with the IGNORE parameter enabled:
> imp system/manager FULL=y IGNORE=y FILE=myfullexp.dmp

No comments:

Post a Comment