| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: RMAN point-in-time recovery problem
On Fri, 28 Nov 2003 03:35:15 +0100, Howard J. Rogers wrote:
> "Vitalis" <vitalis_at_numericable.fr> wrote in message
> news:6f5c4d7d.0311260954.2f934c7b_at_posting.google.com...
>> Hi,
>>
>> I'm testing this RMAN feature and I've come across a strange problem.
>>
>> At time T1, I made a full consistent backup of the database and the
>> archivelogs with RMAN and then I opened the database.
>>
>> At time T2 I inserted a row in an empty table test in tablespace TEST,
>> committed the change and switched the redo log file.
>>
>> At time T3 I executed a 'delete from table test', committed the change
>> and switched the redo log file.
>>
>> I wanted to restore the deleted row with RMAN: sql 'alter tablespace
>> test offline immediate'; run {
>> set until time [a timestamp just before T3]; restore tablespace test;
>> recover tablespace test;
>> }
>>
>> RMAN restored my backup and recovered the tablespace with the redo log
>> corresponding to the insertion.
>> But in the alert.log, the error ORA-279 occured and RMAN recovered the
>> next redo logs too.
>>
>> So the row isn't in the table yet.
>> Any idea of the reason of this behavior? And what can I do to restore
>> this row?
>>
>> TIA
I've studied tablespace point-in-time recovery (TSPITR) a bit further and what I was trying to do was erroneous for the reasons you gave.
But TSPITR *IS* possible. Following chapter 11 of RMAN User's guide,we can perform the type of recovery I was trying to do. It's a bit complicated because it involves an auxialiary db and exporting/importing metadata. RMAN automates a large part of this procedure.
Regards Received on Fri Nov 28 2003 - 03:28:35 CST
![]() |
![]() |