<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Oracle DBA from Beginning &#187; Auto Backup</title>
	<atom:link href="http://dbaanswers.wordpress.com/tag/auto-backup/feed/" rel="self" type="application/rss+xml" />
	<link>http://dbaanswers.wordpress.com</link>
	<description></description>
	<lastBuildDate>Mon, 30 Jun 2008 20:49:04 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='dbaanswers.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/a6c492f6452c79ab59f696e0d8c17813?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Oracle DBA from Beginning &#187; Auto Backup</title>
		<link>http://dbaanswers.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dbaanswers.wordpress.com/osd.xml" title="Oracle DBA from Beginning" />
		<item>
		<title>RMAN: restore the spfile</title>
		<link>http://dbaanswers.wordpress.com/2008/06/16/rman-restore-the-spfile/</link>
		<comments>http://dbaanswers.wordpress.com/2008/06/16/rman-restore-the-spfile/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 20:24:52 +0000</pubDate>
		<dc:creator>June Lee</dc:creator>
				<category><![CDATA[Q & A]]></category>
		<category><![CDATA[Auto Backup]]></category>
		<category><![CDATA[Restore]]></category>
		<category><![CDATA[RMAN]]></category>
		<category><![CDATA[Spfile]]></category>

		<guid isPermaLink="false">http://dbaanswers.wordpress.com/?p=14</guid>
		<description><![CDATA[$sqlplus /nolog;
SQL&#62;connect / as sysdba;
SQL&#62;startup nomount;
SQL&#62;exit;
$rman target / nocatalog
RMAN&#62;set dbid=147749264
RMAN&#62;run
{
allocate channel d1 type disk;
set CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO &#8216;$ORACLE_BASE/oradata/rman_backup/control%F&#8217;;
Restore spfile from autobackup;
Release channel d1;
}
Here is the error info: RMAN-06564: rman must use the t0 clause when the instance is started with spfile
This error info implies that you were using default SPFILE [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaanswers.wordpress.com&blog=3922838&post=14&subd=dbaanswers&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><blockquote><p>$sqlplus /nolog;<br />
SQL&gt;connect / as sysdba;<br />
SQL&gt;startup nomount;<br />
SQL&gt;exit;</p></blockquote>
<blockquote><p>$rman target / nocatalog<br />
RMAN&gt;set dbid=147749264<br />
RMAN&gt;run<br />
{<br />
allocate channel d1 type disk;<br />
set CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO &#8216;$ORACLE_BASE/oradata/rman_backup/control%F&#8217;;<br />
Restore spfile from autobackup;<br />
Release channel d1;<br />
}</p></blockquote>
<p>Here is the error info: RMAN-06564: rman must use the t0 clause when the instance is started with spfile</p>
<p>This error info implies that you were using default SPFILE ($ORACLE_HOME/dbs/spfile&lt;SID&gt;.ora) to startup the database. Database STARTUP NOMOUNT will use the default PFILE or SPFILE.</p>
<p>Problem solving:</p>
<p>Method 1: remove spfile, startup nomount using pfile;</p>
<p>Method 2: from documentation,</p>
<blockquote><p><span class="MsgBodyText">If restoring to a nondefault location, then you could run commands as in the following example:<br />
RESTORE SPFILE TO &#8216;/tmp/spfileTEMP.ora&#8217;; # if you are using a catalog<br />
RESTORE SPFILE TO &#8216;/tmp/spfileTEMP.ora&#8217; FROM AUTOBACKUP; # if in NOCATALOG mode</span></p></blockquote>
<p>References:</p>
<p>1. <a href="http://www.orafaq.com/forum/t/56572/0/">http://www.orafaq.com/forum/t/56572/0/</a><br />
2. [Chinese] <a href="http://space.itpub.net/7199859/viewspace-62315">http://space.itpub.net/7199859/viewspace-62315</a><br />
3. <a href="http://forums.oracle.com/forums/thread.jspa?threadID=661030&amp;tstart=45">http://forums.oracle.com/forums/thread.jspa?threadID=661030&amp;tstart=45</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dbaanswers.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dbaanswers.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dbaanswers.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dbaanswers.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dbaanswers.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dbaanswers.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dbaanswers.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dbaanswers.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dbaanswers.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dbaanswers.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dbaanswers.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dbaanswers.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaanswers.wordpress.com&blog=3922838&post=14&subd=dbaanswers&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dbaanswers.wordpress.com/2008/06/16/rman-restore-the-spfile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cca564445149cfcee064c1729082330d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dbaliving</media:title>
		</media:content>
	</item>
	</channel>
</rss>