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

Home -> Community -> Mailing Lists -> Oracle-L -> Rman and controlfile backups.

Rman and controlfile backups.

From: Lyndon Tiu <ltiu_at_alumni.sfu.ca>
Date: Tue, 04 Mar 2003 09:35:34 -0800
Message-ID: <F001.0055FB0B.20030304093534@fatcity.com>

  1. RMAN on Oracle 8.1.7
  2. Create a latest backupset using:

rman nocatalog

run
{
allocate channel ch1 type disk;
backup database;
backup current controlfile;
backup archivelog all;
}

3) Delete all *.dbf, control and archive log files (simulate a catastrophic database loss).

4) Restore controlfile from the lastest rman backupset using the pl/sql script available in the Oracle 8i Recovery Manager User Guide and Reference.

5) Now controlfile is restored and I startup the database nomount.

6) Attempting to restore database using rman results in rman saying that the latest backup set in unavailable.

7) This is because I used the controlfile as the rman repository. And when I back-uped the controlfile, the controlfile did not yet have the updated backupset information.

8) How do you solve this problem?

Thanks.

--

Lyndon Tiu

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Lyndon Tiu
  INET: ltiu_at_alumni.sfu.ca

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 Tue Mar 04 2003 - 11:35:34 CST

Original text of this message

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