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: Tablespace Restore

Re: Tablespace Restore

From: A. Bardeen <abardeen1_at_yahoo.com>
Date: Sun, 14 May 2000 18:30:19 -0700 (PDT)
Message-Id: <10497.105601@fatcity.com>


Steve,

No, it's not neccessary to restore the entire db to recover a specific table. All you need to restore are the system and rbs datafiles along with the datafiles for the tablespace in which the table(s) reside. Of course you'll need the archived logs for the PITR too.

Brief summary of steps:

  1. Restore files.
  2. Mount db and backup controlfile to trace (or you can do this from the prod instance).
  3. Edit script removing all the datafiles not restored and any recovery commands. You may also want to reduce the number of redo logs to two groups of one member each to reduce the time to open the db since the redo logs will have to be created.
  4. Recreate controlfile.
  5. Perform PITR to before table was dropped.
  6. Open resetlogs
  7. Export table(s)

Of course if you're restoring on the same machine as the prod db you'll need to change the db_name and sid, location of controlfiles in the init.ora, location of datafiles and logfiles, etc... Just be VERY careful so you don't inadvertently overwrite anything belonging to the prod db.

You can find the full details in the following doc on MetaLink:

Note 96197.1 - "Recovering a Dropped Table from a Full Database Backup"

HTH,


Do You Yahoo!? Received on Sun May 14 2000 - 20:30:19 CDT

Original text of this message

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