creating schema [message #204485] |
Mon, 20 November 2006 23:32 |
msurendra_rao
Messages: 5 Registered: November 2006
|
Junior Member |
|
|
hi
I have formated my hardisk i need to install new oracle8i software.using export utillity i took .dmp file of users ,
so after installing the oracle 8i after formating harddisk is it i need to get back my all the data back is it enough that i will create a new empty database and then create users and then import the .dmp file which i did earlier or i need to take the .dmp of database of the old user.
|
|
|
|
Re: creating schema [message #205023 is a reply to message #204485] |
Thu, 23 November 2006 01:39 |
mitra.kausik
Messages: 21 Registered: June 2006
|
Junior Member |
|
|
If u haven't formatted hard disk .. then i think use following mechanism
Take a backup of ur current db like
alter database backup controlfile to trace resetlogs;
Scoop out the relevant ddl to recreate controlfile and save it as .sql file
Copy all the db files into backup folder ( files should include redo,archive files if any,datafiles,init)
Load oracle8i s/w in ur formattted and then create an instance
Place all the files as per directory structure defined in controlfile(traced).
svrmgrl > connect internal
Run controlfile.sql ( the one which u traced).
Startup the db
alter database open resetlogs;
If any recovery is required use the following
SQL>Recover Database using backup controlfile;
Njoy
Kausik
Recover the
|
|
|
Re: creating schema [message #205024 is a reply to message #204487] |
Thu, 23 November 2006 01:43 |
Mohammad Taj
Messages: 2412 Registered: September 2006 Location: Dubai, UAE
|
Senior Member |
|
|
Hi,Take bkp of ur database using Export commmand ( if database size is small).
Import Mode Is -- Full, Users, according ur needs.
It should be "EXPORT"
PS> sorry for new post bcoz i cann't edit my post.
don't know why?
Taj
[Updated on: Thu, 23 November 2006 01:43] Report message to a moderator
|
|
|