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: Rman and controlfile backups.

Re: Rman and controlfile backups.

From: Nikunj Gupta <good_dba_at_hotmail.com>
Date: Tue, 04 Mar 2003 21:33:55 -0800
Message-ID: <F001.005603E3.20030304213355@fatcity.com>


If you are testing.. and want to try it again.. Backup CONTROL FILE at the end.. i.e. even after the archive logs are backed up.

> 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).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Nikunj Gupta
  INET: good_dba_at_hotmail.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 Tue Mar 04 2003 - 23:33:55 CST

Original text of this message

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