Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

trying to restore database from .dmp file.

Status
Not open for further replies.

wvdba

IS-IT--Management
Jun 3, 2008
465
US
hi.
i have obtained a .dmp file from a production database. i have been asked to delete the test database and make the test database look like the production database. so, i'm guessing a reload/restore of some sort is required. is there any way somone can guide me in the right direction as to what needs to be done to load this data into the test environment, please.
thanks.
 
Hi,
was the .dmp file created by an Oracle Export process?
Is it just data or a full database export?



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
turkbear, thanks for reply.
it was created by oracle export process as below:
set oracle_sid=xxxxx
exp proddb/password buffer=320000 log=d:\exp.log owner=db_owner file=d:\xxxxx_09212010.dmp full=n consistent=y
 
Hi,
log into the test database ( or create a new instance of it) and import the data using the Oracle import command

imp testdb/password buffer=320000 from=db_owner to=YOUR TARGET SCHEMA file=d:\xxxxx_09212010.dmp

[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top