Home » RDBMS Server » Server Utilities » restoring database into the existing database (oracle10g)
restoring database into the existing database [message #400184] Mon, 27 April 2009 00:55 Go to next message
rajasekhar857
Messages: 500
Registered: December 2008
Senior Member
hi,

i am maintaining a database which contains some date in it. i have taken the back up of it and dmp file available in some folder in linux machine.if i want to use the same database name also what should i do?i.e entire database should be blank and dnp file content should be restored into the database
so i have to give this command directly.
eg: imp pvt/pvt file=pvt.dmp fromuser=pvt touser=pvt
Re: restoring database into the existing database [message #400186 is a reply to message #400184] Mon, 27 April 2009 01:20 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
An export (and a dmp file) is NOT a backup.
You have to create a new database and then import your data.

Regards
Michel
Re: restoring database into the existing database [message #400187 is a reply to message #400186] Mon, 27 April 2009 01:24 Go to previous messageGo to next message
rajasekhar857
Messages: 500
Registered: December 2008
Senior Member
Michel,

already iam having one database.now i want to proceed with the same database that means if i use imp command using this database name with that dmp file.everything will be recovered no.or this is not the suggested way?
Re: restoring database into the existing database [message #400189 is a reply to message #400187] Mon, 27 April 2009 01:46 Go to previous message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
What do you want to "recover"?
A schema? then proceed as you said but you will not recover you will just restore data as it was in dmp file.

Regards
Michel

[Updated on: Mon, 27 April 2009 01:46]

Report message to a moderator

Previous Topic: Stopping a impdp job
Next Topic: Are there any defragment tools?
Goto Forum:
  


Current Time: Sat Apr 20 02:45:29 CDT 2024