RE: controlfile restore

From: Uzzell, Stephan <SUzzell_at_MICROS.COM>
Date: Tue, 11 Mar 2014 17:28:01 +0000
Message-ID: <91736011266f4df6840fddc59cec9608_at_USMAIL2K1303.us.micros.int>



Since tape is a sequential device, RMAN may need to read the entire tape in order to restore the controlfile. I know we’ve run into similar problems – restoring 4 datafiles once took longer than restoring the full database would have, because we ended up with four full reads of the tape. Depending on the size of your tape, RMAN could still be reading it…

Stephan Uzzell

From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Jeffrey Beckstrom Sent: Tuesday, 11 March, 2014 13:23
To: Ronan.Merrick_at_cso.ie; mufc01666_at_gmail.com; oracle-l-bounce_at_freelists.org Cc: Oracle L
Subject: Re: controlfile restore

Since you are not using a catalog, how is RMAN supposed to determine which backup to restore? I think you will need to explicitly give the file name.

>>> Outsider <mufc01666_at_gmail.com<mailto:mufc01666_at_gmail.com>> 3/11/14 1:07 PM >>> Thanks for reply Ronan, in this case we don't use catalog. I have different behavior when I run restore from disk and from tape. From disk it is just error database not mounted. From tape nothing I waited for half hour and just kill the RMAN process.

Maybe RMAN just cannot find the file. Or just need few hours to finish it......

run
{
SET DBID=3555660907;
ALLOCATE CHANNEL 't11' type 'sbt_tape' parms="ENV=(TDPO_OPTFILE=/opt/oracle/admin/XYZS1/tsm207/tdpo.opt)"; SET UNTIL TIME "to_date('2014-03-06:17:50:00', 'yyyy-mm-dd:hh24:mi:ss')"; restore controlfile from AUTOBACKUP;
}
Any ideas ?



Tiran
Best Regards
Stay in touch...

On 11 March 2014 17:42, <Ronan.Merrick_at_cso.ie<mailto:Ronan.Merrick_at_cso.ie>> wrote:

Hi Tiran,

You need to be connected to a recovery catalog to run this. Otherwise, how can RMAN know about the available backup since these are stored in controlfile/catalog?

Ronan Merrick
Oracle DBA
Census IT
Ph: (+3531) 8951309<tel:%28%2B3531%29%208951309> [cid:image001.gif_at_01CF3D2D.B97F3CE0][cid:image002.gif_at_01CF3D2D.B97F3CE0] [Inactive hide details for Outsider <mufc01666_at_gmail.com>]Outsider <mufc01666_at_gmail.com<mailto:mufc01666_at_gmail.com>>

Outsider <mufc01666_at_gmail.com<mailto:mufc01666_at_gmail.com>> Sent by: oracle-l-bounce_at_freelists.org<mailto:oracle-l-bounce_at_freelists.org>

11/03/2014 16:39
Please respond to
mufc01666_at_gmail.com<mailto:mufc01666_at_gmail.com>

To

Oracle L <oracle-l_at_freelists.org<mailto:oracle-l_at_freelists.org>>

cc

Subject

controlfile restore

Hi,

Sorry for simple question but I looking for some way to do restore controlfile with RMAN SET UNTIL TIME. For example you have 100 controlfiles in tape device and don't want to look and find manually the exact one which you need just put RMAN SET UNTIL TIME and restore it.

Why I always get ORA-01507: database not mounted (restore controlfile from AUTOBACKUP;) ? Controlfile must be restored in nomount state.

thanks



Tiran
Best Regards
Stay in touch...

Subject to the disclaimer at http://www.cso.ie/en/emaildisclaimer/

Faoi réir ag an séanadh ag http://www.cso.ie/en/seanadhriomhphoist/

.



--
http://www.freelists.org/webpage/oracle-l


image001.gif
image002.gif
image005.png
image006.png
Received on Tue Mar 11 2014 - 18:28:01 CET

Original text of this message