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

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

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

From: <Rick_Cale_at_teamhealth.com>
Date: Thu, 06 Nov 2003 05:44:41 -0800
Message-ID: <F001.005D5D46.20031106054441@fatcity.com>

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:
  INET: Rick_Cale_at_teamhealth.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:44:41 CST

Original text of this message

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