dbTalk Databases Forums  

RMAN Recovery

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss RMAN Recovery in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
The Magnet
 
Posts: n/a

Default RMAN Recovery - 06-25-2009 , 09:09 PM






We had a developer make some changes to production. Idiot.

Anyhow, we have a complete backfrom from about 9:00am. There were
some changes arounf 12:00 which are fine. The developer made changes
at 3:30 and messed everything up.

We are runnnig RMAN. So, I did some looking around and just want to
make sure we have the right commands so we can restore the database
until about 3:00pm. Would this do it? (Note we have set the time
back on the server to perform some application specific recovery).

RUN
{
SET UNTIL TIME 'Jun 15 2009 14:00:00';
RESTORE DATABASE;
RECOVER DATABASE;
}

Will that perform the recovery and STOP at 2:00pm? Or will it restore
and recover until the most recent change in the archive logs?

Thanks!

Reply With Quote
  #2  
Old   
ddf
 
Posts: n/a

Default Re: RMAN Recovery - 06-26-2009 , 10:37 AM






On Jun 25, 9:09*pm, The Magnet <a... (AT) unsu (DOT) com> wrote:
Quote:
We had a developer make some changes to production. *Idiot.

Anyhow, we have a complete backfrom from about 9:00am. *There were
some changes arounf 12:00 which are fine. *The developer made changes
at 3:30 and messed everything up.

We are runnnig RMAN. * So, I did some looking around and just want to
make sure we have the right commands so we can restore the database
until about 3:00pm. *Would this do it? *(Note we have set the time
back on the server to perform some application specific recovery).

RUN
{
* SET UNTIL TIME 'Jun 15 2009 14:00:00';
* RESTORE DATABASE;
* RECOVER DATABASE;

}

Will that perform the recovery and STOP at 2:00pm? *Or will it restore
and recover until the most recent change in the archive logs?

Thanks!
Yes.


David Fitzjarrell

Reply With Quote
  #3  
Old   
ddf
 
Posts: n/a

Default Re: RMAN Recovery - 06-26-2009 , 10:39 AM



On Jun 26, 10:37*am, ddf <orat... (AT) msn (DOT) com> wrote:
Quote:
On Jun 25, 9:09*pm, The Magnet <a... (AT) unsu (DOT) com> wrote:





We had a developer make some changes to production. *Idiot.

Anyhow, we have a complete backfrom from about 9:00am. *There were
some changes arounf 12:00 which are fine. *The developer made changes
at 3:30 and messed everything up.

We are runnnig RMAN. * So, I did some looking around and just want to
make sure we have the right commands so we can restore the database
until about 3:00pm. *Would this do it? *(Note we have set the time
back on the server to perform some application specific recovery).

RUN
{
* SET UNTIL TIME 'Jun 15 2009 14:00:00';
* RESTORE DATABASE;
* RECOVER DATABASE;

}

Will that perform the recovery and STOP at 2:00pm? *Or will it restore
and recover until the most recent change in the archive logs?

Thanks!

Yes.

David Fitzjarrell- Hide quoted text -

- Show quoted text -
Well, that may be confusing. The "Yes" is that the recovery will stop
at 2 PM.


David Fitzjarrell

Reply With Quote
  #4  
Old   
jim
 
Posts: n/a

Default Re: RMAN Recovery - 06-28-2009 , 09:23 AM



On Thu, 25 Jun 2009 19:09:51 -0700, The Magnet wrote:

Quote:
We had a developer make some changes to production. Idiot.

Anyhow, we have a complete backfrom from about 9:00am. There were some
changes arounf 12:00 which are fine. The developer made changes at 3:30
and messed everything up.

We are runnnig RMAN. So, I did some looking around and just want to
make sure we have the right commands so we can restore the database
until about 3:00pm. Would this do it? (Note we have set the time back
on the server to perform some application specific recovery).

RUN
{
SET UNTIL TIME 'Jun 15 2009 14:00:00'; RESTORE DATABASE;
RECOVER DATABASE;
}

Will that perform the recovery and STOP at 2:00pm? Or will it restore
and recover until the most recent change in the archive logs?

Thanks!
Yes you can,
Jim

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.