by mistake i have run the following command
drop user hr cascade and i do not have flashback on.
please suggest how to recover it.
thanks
Updated May 18, 2018
by mistake i have run the following command
drop user hr cascade and i do not have flashback on.
please suggest how to recover it.
thanks
Comments
You must have a previous backup, which you can restore on a testing server then use export & import to the DB where you have dropped the schema. This is very easy way.Your last good logical backup the export or DataPump is as good as when it was done -so all subsequent updates to the DB since the logical export cannot be recalled. Otherwise it would have been perfect to simply import your HR schema. So last resort is your backup, and then recover just to the point before you dropped the user! If it is a small enough database then just do that recovery - with all the added logfiles and that will suffice. Be sure you have a backup of the current database -before you make any recovery attempts. - Also look into the above options of doing it on another server and importing - but a schema recovery through RMAN could also work for you.