I've recently received the dump file of the soon to be migrated Oracle Database. I've installed Oracle 10g and now I need to restore the original database.
Can anyone give me a step by step procedure for how to restore it from the *.dmp
file ?
I've recently received the dump file of the soon to be migrated Oracle Database. I've installed Oracle 10g and now I need to restore the original database.
Can anyone give me a step by step procedure for how to restore it from the *.dmp
file ?
It depends what you are trying to do but one short answer is:
The last 3 here:
log
,fromuser
,touser
are optional. You might give some more details about what you are doing if that doesn't help...It depends on the type of export (dump) that was done from the original database. Oracle does four types of exports (called modes):
Assuming that a Full export was done, you'd do something like:
Having said that, you should read through the Oracle documentation on imp.
Keep in mind a .dmp file could mean it was exported using exp or expdp. Run imp help=y or impdp help=y if you run into any issues.
I usually only restore the schemas that I want: