|
|
Re: can anyone help me to restore tables from full offline backup. [message #406451 is a reply to message #406446] |
Thu, 04 June 2009 01:51 |
vinniora
Messages: 56 Registered: October 2008 Location: Mumbai
|
Member |
|
|
Hi,U have to perform incomplete recovery.Steps to do this are:-
1.SHUTDOWN IMMEDIATE
2.Restore the most recent whole database backup with operating system commands
3.if you did not back up the online redo logs, you cannot restore them with the datafiles and control files.
SQL> RECOVER DATABASE UNTIL CANCEL USING BACKUP CONTROLFILE
SQL> CANCEL
4.Then open the database with the RESETLOGS option to reset the current redo log sequence to 1 as follows:
SQL> ALTER DATABASE OPEN RESETLOGS;
or u can use RECOVER DATABASE until time 'yyyy-mm-dd:hh:mi:ss'
2nd method for restoring table is use flashback query isf the respective table u want is present in recyclebin in or not
3rd method is using export/import utility
Hope this may help u
|
|
|
|
|
|
|
Re: can anyone help me to restore tables from full offline backup. [message #406479 is a reply to message #406462] |
Thu, 04 June 2009 03:32 |
vinniora
Messages: 56 Registered: October 2008 Location: Mumbai
|
Member |
|
|
Hi Neha.. you have to take a backup of all the datafiles,control file,redo-log file.
For a database in NOARCHIVELOG mode, you need only restore the affected Oracle datafiles if no redo log file has been overwritten since the last backup.
the procedure which i wrote earlier
RECOVER DATABASE UNTIL CANCEL USING BACKUP CONTROLFILE
it will ask you 2-3 parameter
file_name,cancel,redolog
then apply the redolog which is needed.remember provide whole path of redolog file which is needed for example
c:\redo\redolog01.log
|
|
|
|
Re: can anyone help me to restore tables from full offline backup. [message #406690 is a reply to message #406479] |
Fri, 05 June 2009 06:55 |
neha_sanap
Messages: 4 Registered: June 2009 Location: pune
|
Junior Member |
|
|
Hey i got the solution...
Actually was using jst
restore database
recover database command so i was not getting my droped tables after restoration.
now i am using the following command to restore,
restore database until scn 950;
recover database until scn 950;
alter database open resetlogs;
anyway thank you vinniora for helping so far.....
i got the clue to search in this direction from your quote only.
I have another query now,right now i know the scn ,what if i dont know it or i have created any checkpoint or restore point.
means if i m having new machine with complete clean installation and there if i want to restore the bacup i have already taken,
what should i do??
|
|
|
|
|