RE: flash it back then roll it forward(pitr)

  • From: patrick obrien <po04541@xxxxxxxxx>
  • To: "pobrien@xxxxxxxxxxxxxxxxxxxxxx" <pobrien@xxxxxxxxxxxxxxxxxxxxxx>, ORACLE-L <oracle-l@xxxxxxxxxxxxx>, "Lee.Robertson@xxxxxxxxxx" <Lee.Robertson@xxxxxxxxxx>, D'Hooge Freek <Freek.DHooge@xxxxxxxxx>
  • Date: Wed, 3 Mar 2010 15:41:33 -0800 (PST)

ALTER DATABASE OPEN READ ONLY

thank you!




--- On Wed, 3/3/10, D'Hooge Freek <Freek.DHooge@xxxxxxxxx> wrote:

From: D'Hooge Freek <Freek.DHooge@xxxxxxxxx>
Subject: RE: flash it back then roll it forward(pitr)
To: "po04541@xxxxxxxxx" <po04541@xxxxxxxxx>, "pobrien@xxxxxxxxxxxxxxxxxxxxxx" 
<pobrien@xxxxxxxxxxxxxxxxxxxxxx>, "ORACLE-L" <oracle-l@xxxxxxxxxxxxx>, 
"Lee.Robertson@xxxxxxxxxx" <Lee.Robertson@xxxxxxxxxx>
Date: Wednesday, March 3, 2010, 2:32 PM

Patrick,

Jason and I already told you that you can't do a rollforward when you have 
opened the database in r/w because you then need to open the database with 
resetlogs (the same as with an incomplete restore).
You can however open the flashbacked database in read only mode, shutdown it 
again, mount it and then do a rollforward.

 
Freek D'Hooge
Uptime
Oracle Database Administrator
email: freek.dhooge@xxxxxxxxx
tel +32(0)3 451 23 82
http://www.uptime.be

disclaimer: www.uptime.be/disclaimer


________________________________________
From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On 
Behalf Of patrick obrien
Sent: woensdag 3 maart 2010 19:06
To: pobrien@xxxxxxxxxxxxxxxxxxxxxx; ORACLE-L; Lee.Robertson@xxxxxxxxxx
Subject: RE: flash it back then roll it forward(pitr)

Lee,
I had to do a reset unless I wanted to use a backup control file which, I did 
not want to go there...

SQL> FLASHBACK DATABASE TO TIMESTAMP timestamp'2010-03-02 10:13:40';

Flashback complete.

SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open


SQL> alter database open noresetlogs;
alter database open noresetlogs
*
ERROR at line 1:
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done


SQL> alter database open resetlogs;

Database altered.




--- On Wed, 3/3/10, Robertson Lee - lerobe <Lee.Robertson@xxxxxxxxxx> wrote:

From: Robertson Lee - lerobe <Lee.Robertson@xxxxxxxxxx>
Subject: RE: flash it back then roll it forward(pitr)
To: pobrien@xxxxxxxxxxxxxxxxxxxxxx, "ORACLE-L" <oracle-l@xxxxxxxxxxxxx>
Date: Wednesday, March 3, 2010, 9:16 AM
I am thinking you shouldn’t have issued your resetlogs, however my knowledge of 
flashback stuff is limited to say the least ☹  ??
________________________________________
From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On 
Behalf Of Patrick O'Brien
Sent: 03 March 2010 16:42
To: ORACLE-L
Subject: Re: flash it back then roll it forward(pitr)
 
Jason,
Good to know about the flash forward until; thanks!

What commands/processes did you use? 
This is what I did and I had problems. Any thoughts?  


Shutdown immediate;
startup mount;
FLASHBACK DATABASE TO TIMESTAMP timestamp'2010-03-01 09:41:49';
alter database open resetlogs;


SQL> RECOVER database until time '2010-03-01:09:42:38';
ORA-00283: recovery session canceled due to errors
ORA-19907: recovery time or SCN does not belong to recovered incarnation
 
 
 

--- On Wed, 3/3/10, jason arneil <jason.arneil@xxxxxxxxx> wrote:

From: jason arneil <jason.arneil@xxxxxxxxx>
Subject: Re: flash it back then roll it forward(pitr)
To: pobrien@xxxxxxxxxxxxxxxxxxxxxx
Cc: "ORACLE-L" <oracle-l@xxxxxxxxxxxxx>
Date: Wednesday, March 3, 2010, 8:02 AM
Hello Patrick,

Been testing flashback a bit recently so when I saw your email thought
I would test. Tested this with 10.2.0.4 on linux, and yep you
definitely can flashback and then roll forward, I did a recover
database until change to roll forwards again.

As Freek pointed to open read-write a flashed back database you need a
resetlogs, but of course you can open read-only without this.

Once you have flashed back you can even use flashback database to
"flash forward" and undo your flashback.

jason.

--
http://jarneil.wordpress.com




On 3 March 2010 15:29, Patrick O'Brien <pobrien@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> Hello Oracle users,
>
> is it possible to flashback a database then turn around and roll it forward
> using a pitr process?
>
> thank you!
>
>
--
//www.freelists.org/webpage/oracle-l

***************************************************************************
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be legally
privileged.

If the reader of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.

If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.

Thank You.
****************************************************************************




      

Other related posts: