To import from a full export file a _specific_ schema only, named fred, into a new schema user named barney...
With imp:
imp system/admin file=export.dmp fromuser=fred touser=barney
To do a FULL import, you need to ensure tablespaces exist prior to creation, as they will not correctly create when moving between heterogenous platforms like this.
Easiest is to list your tablespaces from the source database. (select tablespace_name from dba_tablespaces) but you can also list them from the dump file:
imp system/admin full=y show=y rows=n log=log.sql
Then edit log.sql and grab only the create tablespace statements and modify them to fit Windows and run the creates prior to the import.
Main Topics
Browse All Topics





by: sdstuberPosted on 2009-07-16 at 06:56:11ID: 24869061
use the lowest version of exp between your databases
and the same version of imp as the destination database.
The platform doesn't matter. The tools are the same
If both unix and windows db's are 10.2.0.1.0 then use that version of exp and imp.