Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Point-In-Time recovery question, Non-RMAN solution

Re: Point-In-Time recovery question, Non-RMAN solution

From: Joe Testa <oracle-l_at_oracle-dba.com>
Date: Thu, 06 Nov 2003 05:59:40 -0800
Message-ID: <F001.005D5D4C.20031106055940@fatcity.com>


Rick unless i'm missing something you need to restore ALL datafiles and then roll forward to the point in time, since all of the SCN have to match before you can get the db open.

the timestamp format for step 5 is:

RECOVER DATABASE UNTIL TIME '1998-11-23:12:47:30' hth, joe

Rick_Cale_at_teamhealth.com wrote:

>
>
>Hi DBAs,
>
>Oracle 8i, ArchiveLog, No RMAN
>Testing Point-In-Time Recovery
>
>I am confused on what time to substitute in the RECOVER DATABASE UNTIL TIME
>'timestamp';
>
>For example 2 days ago 11/04/2003 approximately 17:00 I drop a table.
>Today I decide I want that table back. I want to do an incomplete recovery
>to get the table back.
>How do I know what timestamp to use? I have an idea the I dropped the
>table but not exact.
>
>
>1. SHUTDOWN Normal
>2. BACKUP current database
>3. Restore datafile that has the table in it.
>4. connect internal
>5. startup mount
>6. recover database until time 'timestamp??????';
>7. Alter database open resetlogs;
>8. BACKUP current database
>
>Step 5 is my confusion.
>
>Also I assume all data is now lost since last archive restored to the
>present.
>The only way I know to get that data back is to
>1. Export the table that was dropped.
>2. Restore database from step2
>3. Import table from step1
>
>Is there better ways.
>
>Thanks
>Rick
>
>
>
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Joe Testa
  INET: oracle-l_at_oracle-dba.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Nov 06 2003 - 07:59:40 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US