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 backup issue

RE: RMAN backup issue

From: Tom Tyson <tomtysonjr_at_yahoo.com>
Date: Thu, 2 Nov 2000 17:56:00 -0800 (PST)
Message-Id: <10668.121022@fatcity.com>


Rama

> >> Again to be on the safe side! If we lose all the 3 control files, we
> thought we could get the old control file from the RCAT and mount the
> database. Is there any otherway to mount the database, when all control
> files are lost...?

Not that I know of, from what I know if you loose all control files you would have to restore them in a nomount mode, then once it is restored you mount your target database. One you've gotten past that you can perform any type of other recovery that is necessary. Here is an example of a recovery up to the latest SCN for my TEST database. The SCN is is changed everytime I run my generation script.



connect target rman/rman_at_TEST;
connect rcvcat rman/rman_at_RCAT;
startup nomount;

run
{
allocate channel d1 type disk;
setlimit channel d1 kbytes 2097150 maxopenfiles 32 readrate 200; set until scn 155108;
restore controlfile;
alter database mount;
restore database;
recover database;
release channel d1;
}
sql 'alter database open resetlogs';
set snapshot controlfile name to
'/db0/orabackup/TEST/snapshot_controlfile_TEST.ctl'; reset database;


About the extra precautions with backing up a second copy of the control file, no problem with doing that, I just was curious as to if you were doing it because you weren't using a catalog. According to Oracle's documentation, that was the only time they suggested making an extra backup of the controlfile. I also had added into my scripts the code to make an extra backup as well.

One addition comment that I wanted to make, is everytime I perform a RMAN backup I perform a full resync of the catalog to the controlfile. The reason I do this, is if you do a backup, it only performs a partial resync which may not get everything. It really can be a good thing to do, I would suggest performing a full resync at least once, possibly multiple times throughout a day.

Regards,
Tom Tyson

Received on Thu Nov 02 2000 - 19:56:00 CST

Original text of this message

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