<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Saad Shujaat's Oracle Blog</title>
	<atom:link href="http://saadshujaatoramentary.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://saadshujaatoramentary.wordpress.com</link>
	<description>These are my views related to Oracle</description>
	<lastBuildDate>Fri, 11 Jul 2008 16:05:25 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='saadshujaatoramentary.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/166a3b5a5504bad45cdc88d3290da8c9?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Saad Shujaat's Oracle Blog</title>
		<link>http://saadshujaatoramentary.wordpress.com</link>
	</image>
			<item>
		<title>11g Data Recovery Advisor : Sys datafiles and Controlfiles Recovery</title>
		<link>http://saadshujaatoramentary.wordpress.com/2008/07/10/11g-data-recovery-advisor-sys-datafiles-and-controlfiles-recovery/</link>
		<comments>http://saadshujaatoramentary.wordpress.com/2008/07/10/11g-data-recovery-advisor-sys-datafiles-and-controlfiles-recovery/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 19:02:03 +0000</pubDate>
		<dc:creator>Saad</dc:creator>
				<category><![CDATA[11g Database]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Data Recovery Advisor]]></category>
		<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[Recovery]]></category>
		<category><![CDATA[RMAN]]></category>

		<guid isPermaLink="false">http://saadshujaatoramentary.wordpress.com/?p=8</guid>
		<description><![CDATA[Introduction 
Oracle 11g Database has been full of new and improved enhancements so it wasn’t a surprise to come across Data Recovery Advisor.
It is an amazing tool that analyzes, proposes and implements solutions for data failures.
It has command line and GUI interface. GUI interface can be accessed through Oracle EM Grid and DB Console while the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saadshujaatoramentary.wordpress.com&blog=4049814&post=8&subd=saadshujaatoramentary&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Introduction </strong></p>
<p>Oracle 11g Database has been full of new and improved enhancements so it wasn’t a surprise to come across Data Recovery Advisor.<br />
It is an amazing tool that analyzes, proposes and implements solutions for data failures.<br />
It has command line and GUI interface. GUI interface can be accessed through Oracle EM Grid and DB Console while the RMAN command line interface includes DRA commands.<br />
Oracle describes a basic five step process for fixings issues with DRA. These are;</p>
<p>1. List the failures<br />
2. Validate the database (optional)<br />
3. Establish the possible options<br />
4. Consider an option<br />
5. Verify or check for remaining failures</p>
<p>Now I will see how Data Recovery Advisor can perform on critical recoveries. We are considering two scenarios, first scenario is that the system datafile has been lost and the second scenario in which all the controlfiles have been lost. In both cases prior RMAN backups exist.</p>
<p><strong>Scenario: System datafile has been lost</strong></p>
<p><code>Recovery Manager: Release 11.1.0.6.0 - Production on Fri Jul 11 09:27:14 2008</code></p>
<p>Copyright (c) 1982, 2007, Oracle. All rights reserved.</p>
<p>RMAN&gt; connect target /</p>
<p>connected to target database: DEV11G (DBID=3891859867, not open)</p>
<p>RMAN&gt; list failure;</p>
<p>using target database control file instead of recovery catalog<br />
List of Database Failures<br />
=========================</p>
<p>Failure ID Priority Status Time Detected Summary<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8211; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;-<br />
42 CRITICAL OPEN 11-JUL-08 System datafile 1: &#8216;F:\APP\ADMINISTRATOR\ORADATA\DEV11G\SYSTEM01.DBF&#8217; is missing</p>
<p>Obviously the database could not open at this point. We have used the command LIST FAILURE to review what the failures are.</p>
<p>Going a bit further seeing how this will impact the database we can use LIST FAILURE DETAIL as follows;</p>
<p><code>RMAN&gt; list failure detail;</code></p>
<p>List of Database Failures<br />
=========================</p>
<p>Failure ID Priority Status Time Detected Summary<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8211; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;-<br />
42 CRITICAL OPEN 11-JUL-08 System datafile 1: &#8216;F:\APP\ADMINISTRATOR\ORADATA\DEV11G\SYSTEM01.DBF&#8217; is missing<br />
Impact: Database cannot be opened</p>
<p>As already mentioned the database cannot be opened which has made this as a CRITICAL priority.</p>
<p><code>RMAN&gt; advise failure;</code></p>
<p>List of Database Failures<br />
=========================</p>
<p>Failure ID Priority Status Time Detected Summary<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8211; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;-<br />
42 CRITICAL OPEN 11-JUL-08 System datafile 1: &#8216;F:\APP\ADMINISTR<br />
ATOR\ORADATA\DEV11G\SYSTEM01.DBF&#8217; is missing<br />
Impact: Database cannot be opened</p>
<p>analyzing automatic repair options; this may take some time<br />
allocated channel: ORA_DISK_1<br />
channel ORA_DISK_1: SID=152 device type=DISK<br />
analyzing automatic repair options complete</p>
<p>Mandatory Manual Actions<br />
========================<br />
no manual actions available</p>
<p>Optional Manual Actions<br />
=======================<br />
1. If file F:\APP\ADMINISTRATOR\ORADATA\DEV11G\SYSTEM01.DBF was unintentionally renamed or moved, restore it</p>
<p>Automated Repair Options<br />
========================<br />
Option Repair Description<br />
&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
1 Restore and recover datafile 1<br />
Strategy: The repair includes complete media recovery with no data loss<br />
Repair script: f:\app\administrator\diag\rdbms\dev11g\dev11g\hm\reco_3619189128.hm</p>
<p>Now I have used ADVISE FAILURE to see as to how can I repair or fix this issue. A list of options have been presented these are MADATORY MANUAL ACTIONS but none are required in this case, OPTIONAL MANUNAL ACTIONS and AUTOMATED REPAIR OPTIONS. We will consider AUTOMATED REPAIR OPTIONS; this includes simply executing the following script;<br />
f:\app\administrator\diag\rdbms\dev11g\dev11g\hm\reco_3619189128.hm</p>
<p><code>RMAN&gt; repair failure preview;</code></p>
<p>Strategy: The repair includes complete media recovery with no data loss<br />
Repair script: f:\app\administrator\diag\rdbms\dev11g\dev11g\hm\reco_3619189128.hm</p>
<p>contents of repair script:<br />
# restore and recover datafile<br />
restore datafile 1;<br />
recover datafile 1;</p>
<p>Now we have displayed the contents of the script with REPAIR FAILURE PREVIEW command. We are completely aware of the recovery process as it is transparent.</p>
<p><code>RMAN&gt; repair failure;</code></p>
<p>Strategy: The repair includes complete media recovery with no data loss<br />
Repair script: f:\app\administrator\diag\rdbms\dev11g\dev11g\hm\reco_3619189128hm</p>
<p>contents of repair script:<br />
# restore and recover datafile<br />
restore datafile 1;<br />
recover datafile 1;</p>
<p>Do you really want to execute the above repair (enter YES or NO)? YES<br />
executing repair script</p>
<p>Starting restore at 11-JUL-08<br />
using channel ORA_DISK_1</p>
<p>channel ORA_DISK_1: starting datafile backup set restore<br />
channel ORA_DISK_1: specifying datafile(s) to restore from backup set<br />
channel ORA_DISK_1: restoring datafile 00001 to F:\APP\ADMINISTRATOR\ORADATA\DE<br />
11G\SYSTEM01.DBF<br />
channel ORA_DISK_1: reading from backup piece F:\APP\ADMINISTRATOR\FLASH_RECOVE<br />
Y_AREA\DEV11G\BACKUPSET\2008_07_11\O1_MF_NNNDF_TAG20080711T092430_47H2B04D_.BKP<br />
channel ORA_DISK_1: piece handle=F:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\DEV11<br />
\BACKUPSET\2008_07_11\O1_MF_NNNDF_TAG20080711T092430_47H2B04D_.BKP tag=TAG20080<br />
11T092430<br />
channel ORA_DISK_1: restored backup piece 1<br />
channel ORA_DISK_1: restore complete, elapsed time: 00:00:16<br />
Finished restore at 11-JUL-08</p>
<p>Starting recover at 11-JUL-08<br />
using channel ORA_DISK_1</p>
<p>starting media recovery<br />
media recovery complete, elapsed time: 00:00:01</p>
<p>Finished recover at 11-JUL-08<br />
repair failure complete</p>
<p>Do you want to open the database (enter YES or NO)? YES<br />
database opened</p>
<p>Finally we executed the fix using REPAIR FAILURE and the repair has been successful.</p>
<p><code>RMAN&gt; list failure closed;</code></p>
<p>List of Database Failures<br />
=========================</p>
<p>Failure ID Priority Status Time Detected Summary<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8211; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;-<br />
42 CRITICAL CLOSED 11-JUL-08 System datafile 1: &#8216;F:\APP\ADMINISTR<br />
ATOR\ORADATA\DEV11G\SYSTEM01.DBF&#8217; is missing</p>
<p>After opening the database we check again for any failures by using LIST FAILURE command. We can see that the STATUS had been changed from OPEN to CLOSED as the issue has been resolved.</p>
<p>Now we see the loss of controlfiles recovery using DRA.</p>
<p><strong>Scenario: All controlfiles have been lost </strong></p>
<p><code>RMAN&gt; list failure;</code></p>
<p>using target database control file instead of recovery catalog<br />
List of Database Failures<br />
=========================</p>
<p>Failure ID Priority Status Time Detected Summary<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8211; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;-<br />
113 CRITICAL OPEN 11-JUL-08 Control file F:\APP\ADMINISTRATOR\ORADATA\DEV11G\CONTROL01.CTL is missing<br />
110 CRITICAL OPEN 11-JUL-08 Control file F:\APP\ADMINISTRATOR\ORADATA\DEV11G\CONTROL02.CTL is missing<br />
107 CRITICAL OPEN 11-JUL-08 Control file F:\APP\ADMINISTRATOR\ORADATA\DEV11G\CONTROL03.CTL is missing</p>
<p>This is an additional step only to review that the precise impact is being shown or it could even be considered as part of step one.</p>
<p><code>RMAN&gt; list failure detail;</code></p>
<p>List of Database Failures<br />
=========================</p>
<p>Failure ID Priority Status Time Detected Summary<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8211; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;-<br />
113 CRITICAL OPEN 11-JUL-08 Control file F:\APP\ADMINISTRATOR\OR<br />
ADATA\DEV11G\CONTROL01.CTL is missing<br />
Impact: Database cannot be mounted</p>
<p>Failure ID Priority Status Time Detected Summary<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8211; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;-<br />
110 CRITICAL OPEN 11-JUL-08 Control file F:\APP\ADMINISTRATOR\OR<br />
ADATA\DEV11G\CONTROL02.CTL is missing<br />
Impact: Database cannot be mounted</p>
<p>Failure ID Priority Status Time Detected Summary<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8211; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;-<br />
107 CRITICAL OPEN 11-JUL-08 Control file F:\APP\ADMINISTRATOR\OR<br />
ADATA\DEV11G\CONTROL03.CTL is missing<br />
Impact: Database cannot be mounted</p>
<p>RMAN&gt; advise failure;</p>
<p>List of Database Failures<br />
=========================</p>
<p>Failure ID Priority Status Time Detected Summary<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8211; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;-<br />
113 CRITICAL OPEN 11-JUL-08 Control file F:\APP\ADMINISTRATOR\OR<br />
ADATA\DEV11G\CONTROL01.CTL is missing<br />
Impact: Database cannot be mounted</p>
<p>Failure ID Priority Status Time Detected Summary<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8211; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;-<br />
110 CRITICAL OPEN 11-JUL-08 Control file F:\APP\ADMINISTRATOR\OR<br />
ADATA\DEV11G\CONTROL02.CTL is missing<br />
Impact: Database cannot be mounted</p>
<p>Failure ID Priority Status Time Detected Summary<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8211; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;-<br />
107 CRITICAL OPEN 11-JUL-08 Control file F:\APP\ADMINISTRATOR\OR<br />
ADATA\DEV11G\CONTROL03.CTL is missing<br />
Impact: Database cannot be mounted</p>
<p>analyzing automatic repair options; this may take some time<br />
allocated channel: ORA_DISK_1<br />
channel ORA_DISK_1: SID=152 device type=DISK<br />
analyzing automatic repair options complete</p>
<p>Mandatory Manual Actions<br />
========================<br />
no manual actions available</p>
<p>Optional Manual Actions<br />
=======================<br />
1. If file F:\APP\ADMINISTRATOR\ORADATA\DEV11G\CONTROL01.CTL was unintentionally<br />
renamed or moved, restore it<br />
2. If file F:\APP\ADMINISTRATOR\ORADATA\DEV11G\CONTROL02.CTL was unintentionally<br />
renamed or moved, restore it<br />
3. If file F:\APP\ADMINISTRATOR\ORADATA\DEV11G\CONTROL03.CTL was unintentionally<br />
renamed or moved, restore it</p>
<p>Automated Repair Options<br />
========================<br />
Option Repair Description<br />
&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
1 Restore a backup control file<br />
Strategy: The repair includes complete media recovery with no data loss<br />
Repair script: f:\app\administrator\diag\rdbms\dev11g\dev11g\hm\reco_4252270918.hm</p>
<p>RMAN&gt; repair failure preview;</p>
<p>Strategy: The repair includes complete media recovery with no data loss<br />
Repair script: f:\app\administrator\diag\rdbms\dev11g\dev11g\hm\reco_4252270918.<br />
hm</p>
<p>contents of repair script:<br />
# restore control file<br />
restore controlfile from autobackup;<br />
sql &#8216;alter database mount&#8217;;</p>
<p>RMAN&gt; repair failure;</p>
<p>Strategy: The repair includes complete media recovery with no data loss<br />
Repair script: f:\app\administrator\diag\rdbms\dev11g\dev11g\hm\reco_4252270918.hm</p>
<p>contents of repair script:<br />
# restore control file<br />
restore controlfile from autobackup;<br />
sql &#8216;alter database mount&#8217;;</p>
<p>Do you really want to execute the above repair (enter YES or NO)? YES<br />
executing repair script</p>
<p>Starting restore at 11-JUL-08<br />
using channel ORA_DISK_1</p>
<p>recovery area destination: F:\app\Administrator\flash_recovery_area<br />
database name (or database unique name) used for search: DEV11G<br />
channel ORA_DISK_1: AUTOBACKUP F:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\DEV11G\A<br />
UTOBACKUP\2008_07_11\O1_MF_S_659784297_47H2BTVC_.BKP found in the recovery area<br />
AUTOBACKUP search with format &#8220;%F&#8221; not attempted because DBID was not set<br />
channel ORA_DISK_1: restoring control file from AUTOBACKUP F:\APP\ADMINISTRATOR\<br />
FLASH_RECOVERY_AREA\DEV11G\AUTOBACKUP\2008_07_11\O1_MF_S_659784297_47H2BTVC_.BKP</p>
<p>channel ORA_DISK_1: control file restore from AUTOBACKUP complete<br />
output file name=F:\APP\ADMINISTRATOR\ORADATA\DEV11G\CONTROL01.CTL<br />
output file name=F:\APP\ADMINISTRATOR\ORADATA\DEV11G\CONTROL02.CTL<br />
output file name=F:\APP\ADMINISTRATOR\ORADATA\DEV11G\CONTROL03.CTL<br />
Finished restore at 11-JUL-08</p>
<p>sql statement: alter database mount<br />
released channel: ORA_DISK_1<br />
repair failure complete</p>
<p>At this point, the control files have been restored and the database reached in mount state.</p>
<p><code>RMAN&gt; list failure;</code></p>
<p>List of Database Failures<br />
=========================</p>
<p>Failure ID Priority Status Time Detected Summary<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8211; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;-<br />
437 CRITICAL OPEN 11-JUL-08 System datafile 1: &#8216;F:\APP\ADMINISTRATOR\ORADATA\DEV11G\SYSTEM01.DBF&#8217; needs media recovery<br />
305 CRITICAL OPEN 11-JUL-08 Control file needs media recovery<br />
142 HIGH OPEN 11-JUL-08 One or more on-system datafiles need media recovery</p>
<p>This time new failures have been determined. So again we execute the ADVISE FAILURE.</p>
<p><code>RMAN&gt; advise failure;</code></p>
<p>Starting implicit crosscheck backup at 11-JUL-08<br />
allocated channel: ORA_DISK_1<br />
channel ORA_DISK_1: SID=152 device type=DISK<br />
Crosschecked 3 objects<br />
Finished implicit crosscheck backup at 11-JUL-08</p>
<p>Starting implicit crosscheck copy at 11-JUL-08<br />
using channel ORA_DISK_1<br />
Finished implicit crosscheck copy at 11-JUL-08</p>
<p>searching for all files in the recovery area<br />
cataloging files&#8230;<br />
cataloging done</p>
<p>List of Cataloged Files<br />
=======================<br />
File Name: F:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\DEV11G\AUTOBACKUP\2008_07_11<br />
\O1_MF_S_659786902_47H4W8C7_.BKP</p>
<p>List of Database Failures<br />
=========================</p>
<p>Failure ID Priority Status Time Detected Summary<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8211; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;-<br />
437 CRITICAL OPEN 11-JUL-08 System datafile 1: &#8216;F:\APP\ADMINISTRATOR\ORADATA\DEV11G\SYSTEM01.DBF&#8217; needs media recovery<br />
305 CRITICAL OPEN 11-JUL-08 Control file needs media recovery<br />
142 HIGH OPEN 11-JUL-08 One or more non-system datafiles need media recovery</p>
<p>analyzing automatic repair options; this may take some time<br />
using channel ORA_DISK_1<br />
analyzing automatic repair options complete</p>
<p>Mandatory Manual Actions<br />
========================<br />
no manual actions available</p>
<p>Optional Manual Actions<br />
=======================<br />
1. If you restored the wrong version of data file F:\APP\ADMINISTRATOR\ORADATA\D<br />
EV11G\SYSTEM01.DBF, then replace it with the correct one<br />
2. If you have the correct version of the control file, then shutdown the database and replace the old control file<br />
3. If you restored the wrong version of data file F:\APP\ADMINISTRATOR\ORADATA\DEV11G\SYSAUX01.DBF, then replace it with the correct one<br />
4. If you restored the wrong version of data file F:\APP\ADMINISTRATOR\ORADATA\DEV11G\UNDOTBS01.DBF, then replace it with the correct one<br />
5. If you restored the wrong version of data file F:\APP\ADMINISTRATOR\ORADATA\DEV11G\USERS01.DBF, then replace it with the correct one</p>
<p>Automated Repair Options<br />
========================<br />
Option Repair Description<br />
&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
1 Recover database<br />
Strategy: The repair includes complete media recovery with no data loss<br />
Repair script: f:\app\administrator\diag\rdbms\dev11g\dev11g\hm\reco_3650007651.hm</p>
<p>A new script has been created which can be reviewed as follows;</p>
<p><code>RMAN&gt; repair failure preview;</code></p>
<p>Strategy: The repair includes complete media recovery with no data loss<br />
Repair script: f:\app\administrator\diag\rdbms\dev11g\dev11g\hm\reco_3650007651.hm</p>
<p>contents of repair script:<br />
# recover database<br />
recover database;<br />
alter database open resetlogs;</p>
<p>Finally executing the repair script as follows;</p>
<p><code>RMAN&gt; repair failure;</code></p>
<p>Strategy: The repair includes complete media recovery with no data loss<br />
Repair script: f:\app\administrator\diag\rdbms\dev11g\dev11g\hm\reco_3650007651.<br />
hm</p>
<p>contents of repair script:<br />
# recover database<br />
recover database;<br />
alter database open resetlogs;</p>
<p>Do you really want to execute the above repair (enter YES or NO)? YES<br />
executing repair script</p>
<p>Starting recover at 11-JUL-08<br />
using channel ORA_DISK_1</p>
<p>starting media recovery</p>
<p>archived log for thread 1 with sequence 1 is already on disk as file F:\APP\ADMI<br />
NISTRATOR\ORADATA\DEV11G\REDO01.LOG<br />
archived log file name=F:\APP\ADMINISTRATOR\ORADATA\DEV11G\REDO01.LOG thread=1 s<br />
equence=1<br />
media recovery complete, elapsed time: 00:00:01<br />
Finished recover at 11-JUL-08</p>
<p>database opened<br />
repair failure complete</p>
<p>Repair has been successful once again.</p>
<p>In conclusion to the control files recovery we have seen that the DRA process was divided into two portions.<br />
First script executed;</p>
<p>1. RESTORE CONTROLFILE FROM AUTOBACKUP<br />
2. ALTER DATABSE MOUNT</p>
<p>Second script executed;</p>
<p>1. RECOVER DATABASE<br />
2. ALTER DATABASE OPEN RESETLOGS</p>
<p>DRA seems to be a reliable and an effective tool for database recovery.</p>
<p>Additional Resources;</p>
<p>http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmrepai.htm</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/saadshujaatoramentary.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/saadshujaatoramentary.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/saadshujaatoramentary.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/saadshujaatoramentary.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/saadshujaatoramentary.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/saadshujaatoramentary.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/saadshujaatoramentary.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/saadshujaatoramentary.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/saadshujaatoramentary.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/saadshujaatoramentary.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/saadshujaatoramentary.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/saadshujaatoramentary.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saadshujaatoramentary.wordpress.com&blog=4049814&post=8&subd=saadshujaatoramentary&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://saadshujaatoramentary.wordpress.com/2008/07/10/11g-data-recovery-advisor-sys-datafiles-and-controlfiles-recovery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b04d22c93a70b6ef50ae72625f56ed2c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ssk5</media:title>
		</media:content>
	</item>
		<item>
		<title>Understanding &#8216;Backup’- Part I</title>
		<link>http://saadshujaatoramentary.wordpress.com/2008/06/23/understanding-backing-%e2%80%98up%e2%80%99-part-i/</link>
		<comments>http://saadshujaatoramentary.wordpress.com/2008/06/23/understanding-backing-%e2%80%98up%e2%80%99-part-i/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 13:25:27 +0000</pubDate>
		<dc:creator>Saad</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[Application Server]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[EBS]]></category>

		<guid isPermaLink="false">http://saadshujaatoramentary.wordpress.com/?p=4</guid>
		<description><![CDATA[

Introduction 
 
Backup is a very important aspect of any system. Generally when the word backup is expressed in Oracle, it is coincided with an Oracle database. But an appropriate understanding depicts a different picture;   
 
Here the focus is on Oracle E-Business Suite (EBS) and Oracle Applications Server (Oracle AS). 
 
Backup Oracle E-Business Suite (EBS) – [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saadshujaatoramentary.wordpress.com&blog=4049814&post=4&subd=saadshujaatoramentary&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal" style="margin:0;"><strong></strong></p>
<p class="MsoNormal" style="margin:0;"><strong></strong></p>
<p class="MsoNormal" style="margin:0;"><strong><span style="text-decoration:underline;"><span style="font-size:small;"><span style="font-family:Times New Roman;">Introduction </span></span></span></strong></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times New Roman;">Backup is a very important aspect of any system. Generally when the word backup is expressed in Oracle, it is coincided with an Oracle database. But an appropriate understanding depicts a different picture;<span>   </span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Here the focus is on Oracle E-Business Suite (EBS) and Oracle Applications Server (Oracle AS). </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><strong><span style="text-decoration:underline;"><span style="font-size:small;"><span style="font-family:Times New Roman;">Backup Oracle E-Business Suite (EBS) – The Perspective </span></span></span></strong></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Cloning Oracle Applications Release 11i with Rapid Clone: Doc ID:<span>  </span>Note: 230672.1</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Cloning Oracle Applications Release 12 with Rapid Clone: Doc ID:<span>  </span>Note: 406982.1</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">These are some helpful documents while referring to backing up Oracle E-Business Suite (EBS). </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Since the intend is to understand backup, we can directly pass on to the cloning portion of the doc for Oracle Applications Release 11i that can be as follows;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<ul style="margin-top:0;" type="disc">
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Prepare the Source </span>
<ul style="margin-top:0;" type="circle">
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Run the cloning script on the database tier.</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Run the cloning script the application tier.</span></li>
</ul>
</li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Copy the files </span>
<ul style="margin-top:0;" type="circle">
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Copy the applications tier file system which includes APPL_TOP, OA_HTML, OA_JAVA, OA_JRE_TOP, COMMON_TOP/util, COMMON_TOP/clone, COMMON_TOP/pages, 806 ORACLE_HOME, iAS ORACLE_HOME).</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Copy the database tier file system which includes the DBF files and the ORACLE_HOME</span></li>
</ul>
</li>
</ul>
<ul style="margin-top:0;" type="disc">
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Configure the Target </span>
<ul style="margin-top:0;" type="circle">
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Run the cloning script on the database tier. </span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Run the cloning script on the application tier. </span></li>
</ul>
</li>
</ul>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Note: </span><span style="font-size:small;font-family:Times New Roman;">Please see Doc ID:<span>  </span>Note: 230672.1 for complete details.</span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;font-family:Times New Roman;"> </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Here referring to the same process but for Oracle Applications Release 12 </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<ul style="margin-top:0;" type="disc">
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Prepare the Source </span>
<ul style="margin-top:0;" type="circle">
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Run the cloning script on the database tier. </span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Run the cloning script on the applications tier.</span></li>
</ul>
</li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Copy the files </span>
<ul style="margin-top:0;" type="circle">
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Copy the application tier file system which includes APPL_TOP, COMMON_TOP and Tech Stack (AS Tools ORACLE_HOME + AS Web IAS ORACLE_HOME)).</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Copy the database tier file system which includes the DBF files and the ORACLE_HOME</span></li>
</ul>
</li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Configure the Target </span>
<ul style="margin-top:0;" type="circle">
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Run the cloning script on the database tier. </span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Run the cloning script on the application tier.</span></li>
</ul>
</li>
</ul>
<p class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Note: </span><span style="font-size:small;font-family:Times New Roman;">Please see Doc ID:<span>  </span>Note: 406982.1 for complete details.</span><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Apparently various details have not been presented; these details would include closing or shutting down the services, the perquisites check, location of the scripts, names of the scripts since process has been reviewed in a glance. The conclusive point is that cloning not only includes database file system but also application file system. Further, cloning Oracle Applications can be constituted as an Oracle Applications backup.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><strong><span style="text-decoration:underline;"><span style="font-size:small;"><span style="font-family:Times New Roman;">Backup Oracle Application Server (Oracle AS) – The Perspective</span></span></span></strong></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Oracle Applications Server (10.1.3)</span></p>
<p class="MsoNormal" style="margin:0;"><a href="http://download.oracle.com/docs/cd/B31017_01/core.1013/b28940/br_bkp.htm#BABFJJIG"><span style="font-size:small;font-family:Times New Roman;">http://download.oracle.com/docs/cd/B31017_01/core.1013/b28940/br_bkp.htm#BABFJJIG</span></a></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Oracle Applications Server (10.2.1)</span></p>
<p class="MsoNormal" style="margin:0;"><a href="http://download-west.oracle.com/docs/cd/B14099_19/core.1012/b13995/br_bkp.htm#i1010329"><span style="font-size:small;font-family:Times New Roman;">http://download-west.oracle.com/docs/cd/B14099_19/core.1012/b13995/br_bkp.htm#i1010329</span></a></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">These are from the administrator guides.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times New Roman;">Oracle AS backup has been suggested as follows;</span></span><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<ol>
<li>
<div class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Oracle AS Complete Installation </span></div>
</li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Oracle AS Server Environment </span></li>
<li class="MsoNormal"><span style="font-size:small;"><span style="font-family:Times New Roman;">Oracle AS Running<span> </span></span></span></li>
<li class="MsoNormal"><span style="font-size:small;"><span style="font-family:Times New Roman;">Instance Backup </span></span></li>
</ol>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Note: </span><span style="font-size:small;font-family:Times New Roman;">Please see the Oracle documentation for complete details. </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">The first condition for an Oracle AS backup is a complete Oracle Application Server installation. The second condition is an image backup. Under the situation the Oracle AS has been running and some massive, regular or administrative changes have been made, the previous step has to be referred. Lastly the instance backup is to be considered. The conclusive point is there are two types of Oracle Application Server backups; image backup and instance backup. </span></p>
<p class="MsoNormal" style="margin:0;"><strong></strong></p>
<p class="MsoNormal" style="margin:0;"><strong></strong></p>
<p class="MsoNormal" style="margin:0;"><strong></strong></p>
<p class="MsoNormal" style="margin:0;"><strong></strong></p>
<p class="MsoNormal" style="margin:0;"><strong></strong></p>
<p class="MsoNormal" style="margin:0;"><strong><span style="text-decoration:underline;"></span></strong></p>
<p class="MsoNormal" style="margin:0;"><strong><span style="text-decoration:underline;"><span style="font-size:small;"><span style="font-family:Times New Roman;">Summary </span></span></span></strong></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;font-family:Times New Roman;"> </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Therefore, in both cases (Oracle EBS and Oracle AS) Oracle provides secure methods for backups considering not only the database files but other files as well.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">We tend to cover more of Oracle Application Server backups in the coming parts. </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;font-family:Times New Roman;"> </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times New Roman;"><span> </span><span> </span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;font-family:Times New Roman;"> </span></span></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/saadshujaatoramentary.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/saadshujaatoramentary.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/saadshujaatoramentary.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/saadshujaatoramentary.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/saadshujaatoramentary.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/saadshujaatoramentary.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/saadshujaatoramentary.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/saadshujaatoramentary.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/saadshujaatoramentary.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/saadshujaatoramentary.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/saadshujaatoramentary.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/saadshujaatoramentary.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saadshujaatoramentary.wordpress.com&blog=4049814&post=4&subd=saadshujaatoramentary&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://saadshujaatoramentary.wordpress.com/2008/06/23/understanding-backing-%e2%80%98up%e2%80%99-part-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b04d22c93a70b6ef50ae72625f56ed2c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ssk5</media:title>
		</media:content>
	</item>
	</channel>
</rss>