<?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/"
	>

<channel>
	<title>Parm Patram &#187; RMAN Catalog Setup</title>
	<atom:link href="http://oracle.3dub.com/category/rman/rman-catalog-setup/feed/" rel="self" type="application/rss+xml" />
	<link>http://oracle.3dub.com</link>
	<description>Oracle, Linux and UNIX tips, tricks and stuff</description>
	<lastBuildDate>Fri, 03 Feb 2012 18:14:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>RMAN Catalog Setup</title>
		<link>http://oracle.3dub.com/2008/09/29/rman-catalog-setup/</link>
		<comments>http://oracle.3dub.com/2008/09/29/rman-catalog-setup/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 00:40:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[RMAN Catalog Setup]]></category>

		<guid isPermaLink="false">http://oracle.3dub.com/?p=172</guid>
		<description><![CDATA[[oracle@odbs ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.1.0.6.0 &#8211; Production on Mon Sep 29 20:05:49 2008
Copyright (c) 1982, 2007, Oracle.  All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 &#8211; Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL&#62; create user rman_user identified by rabid default tablespace RMAN_CAT temporary tablespace TEMP;
User [...]]]></description>
			<content:encoded><![CDATA[<p>[oracle@odbs ~]$ <span style="color: #ff0000;">sqlplus / as sysdba</span></p>
<p>SQL*Plus: Release 11.1.0.6.0 &#8211; Production on Mon Sep 29 20:05:49 2008</p>
<p>Copyright (c) 1982, 2007, Oracle.  All rights reserved.</p>
<p>Connected to:<br />
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 &#8211; Production<br />
With the Partitioning, OLAP, Data Mining and Real Application Testing options</p>
<p>SQL&gt; <span style="color: #ff0000;">create user rman_user identified by rabid default tablespace RMAN_CAT temporary tablespace TEMP;</span></p>
<p><span style="color: #ff0000;">User created.</span></p>
<p>SQL&gt; <span style="color: #ff0000;">grant resource,connect,recovery_catalog_owner to rman_user;</span></p>
<p>Grant succeeded.</p>
<p>SQL&gt; quit<br />
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 &#8211; Production<br />
With the Partitioning, OLAP, Data Mining and Real Application Testing options<br />
[oracle@odbs ~]$ <span style="color: #ff0000;">rman</span></p>
<p>Recovery Manager: Release 11.1.0.6.0 &#8211; Production on Mon Sep 29 20:07:59 2008</p>
<p>Copyright (c) 1982, 2007, Oracle.  All rights reserved.</p>
<p>RMAN&gt; <span style="color: #ff0000;">connect catalog rman_user/rabid</span></p>
<p>connected to recovery catalog database</p>
<p>RMAN&gt; <span style="color: #ff0000;">create catalog tablespace RMAN_CAT;</span></p>
<p>recovery catalog created</p>
<p>RMAN&gt; <span style="color: #ff0000;">connect target</span></p>
<p>connected to target database: ORCL (DBID=1191592594)</p>
<p>RMAN&gt; <span style="color: #ff0000;">register database;</span></p>
<p>database registered in recovery catalog<br />
starting full resync of recovery catalog<br />
full resync complete</p>
<p>RMAN&gt; <span style="color: #ff0000;">run<br />
{<br />
allocate channel c1 type disk;<br />
backup database format &#8216;db_%u_%d_%s&#8217;;<br />
backup   format &#8216;log_t%t_s%s_p%p&#8217;<br />
(archivelog all);<br />
}</span></p>
<p>allocated channel: c1<br />
channel c1: SID=115 device type=DISK</p>
<p>Starting backup at 29-SEP-08<br />
channel c1: starting full datafile backup set<br />
channel c1: specifying datafile(s) in backup set<br />
input datafile file number=00002 name=/u01/app/oracle/oradata/orcl/sysaux01.dbf<br />
input datafile file number=00001 name=/u01/app/oracle/oradata/orcl/system01.dbf<br />
input datafile file number=00003 name=/u01/app/oracle/oradata/orcl/undotbs01.dbf<br />
input datafile file number=00006 name=/u01/app/oracle/oradata/orcl/rman_catalog<br />
input datafile file number=00005 name=/u01/app/oracle/oradata/orcl/example01.dbf<br />
input datafile file number=00004 name=/u01/app/oracle/oradata/orcl/users01.dbf<br />
channel c1: starting piece 1 at 29-SEP-08<br />
channel c1: finished piece 1 at 29-SEP-08<br />
piece handle=/u01/app/oracle/product/11.1.0/db_1/dbs/db_01jrr4j4_ORCL_1 tag=TAG2                                             0080929T201323 comment=NONE<br />
channel c1: backup set complete, elapsed time: 00:05:21<br />
channel c1: starting full datafile backup set<br />
channel c1: specifying datafile(s) in backup set<br />
including current control file in backup set<br />
including current SPFILE in backup set<br />
channel c1: starting piece 1 at 29-SEP-08<br />
channel c1: finished piece 1 at 29-SEP-08<br />
piece handle=/u01/app/oracle/product/11.1.0/db_1/dbs/db_02jrr4u7_ORCL_2 tag=TAG2                                             0080929T201323 comment=NONE<br />
channel c1: backup set complete, elapsed time: 00:00:01<br />
Finished backup at 29-SEP-08</p>
<p>Starting backup at 29-SEP-08<br />
current log archived<br />
channel c1: starting archived log backup set<br />
channel c1: specifying archived log(s) in backup set<br />
input archived log thread=1 sequence=188 RECID=2 STAMP=666126255<br />
input archived log thread=1 sequence=189 RECID=4 STAMP=666136994<br />
input archived log thread=1 sequence=190 RECID=6 STAMP=666137372<br />
input archived log thread=1 sequence=191 RECID=8 STAMP=666155715<br />
input archived log thread=1 sequence=192 RECID=10 STAMP=666181071<br />
input archived log thread=1 sequence=193 RECID=12 STAMP=666202337<br />
input archived log thread=1 sequence=194 RECID=14 STAMP=666223313<br />
input archived log thread=1 sequence=195 RECID=16 STAMP=666223791<br />
input archived log thread=1 sequence=196 RECID=18 STAMP=666232938<br />
input archived log thread=1 sequence=197 RECID=20 STAMP=666258139<br />
input archived log thread=1 sequence=198 RECID=22 STAMP=666283234<br />
input archived log thread=1 sequence=199 RECID=24 STAMP=666306043<br />
input archived log thread=1 sequence=200 RECID=26 STAMP=666309784<br />
input archived log thread=1 sequence=201 RECID=28 STAMP=666316859<br />
input archived log thread=1 sequence=202 RECID=30 STAMP=666339853<br />
input archived log thread=1 sequence=203 RECID=32 STAMP=666363436<br />
input archived log thread=1 sequence=204 RECID=34 STAMP=666384833<br />
input archived log thread=1 sequence=205 RECID=36 STAMP=666396177<br />
input archived log thread=1 sequence=206 RECID=38 STAMP=666396660<br />
input archived log thread=1 sequence=207 RECID=40 STAMP=666414900<br />
input archived log thread=1 sequence=208 RECID=42 STAMP=666439937<br />
input archived log thread=1 sequence=209 RECID=44 STAMP=666463456<br />
input archived log thread=1 sequence=210 RECID=46 STAMP=666482535<br />
input archived log thread=1 sequence=211 RECID=48 STAMP=666483086<br />
input archived log thread=1 sequence=212 RECID=50 STAMP=666496858<br />
input archived log thread=1 sequence=213 RECID=52 STAMP=666511346<br />
input archived log thread=1 sequence=214 RECID=54 STAMP=666523956<br />
input archived log thread=1 sequence=215 RECID=56 STAMP=666540114<br />
input archived log thread=1 sequence=216 RECID=58 STAMP=666554550<br />
input archived log thread=1 sequence=217 RECID=60 STAMP=666569511<br />
input archived log thread=1 sequence=218 RECID=62 STAMP=666576197<br />
input archived log thread=1 sequence=219 RECID=64 STAMP=666597710<br />
input archived log thread=1 sequence=220 RECID=66 STAMP=666600496<br />
input archived log thread=1 sequence=221 RECID=68 STAMP=666618400<br />
input archived log thread=1 sequence=222 RECID=70 STAMP=666637130<br />
input archived log thread=1 sequence=223 RECID=72 STAMP=666648749<br />
input archived log thread=1 sequence=224 RECID=74 STAMP=666655412<br />
input archived log thread=1 sequence=225 RECID=76 STAMP=666675364<br />
input archived log thread=1 sequence=226 RECID=78 STAMP=666699443<br />
input archived log thread=1 sequence=227 RECID=80 STAMP=666722128<br />
input archived log thread=1 sequence=228 RECID=82 STAMP=666735075<br />
input archived log thread=1 sequence=229 RECID=84 STAMP=666735595<br />
channel c1: starting piece 1 at 29-SEP-08<br />
channel c1: finished piece 1 at 29-SEP-08<br />
piece handle=/u01/app/oracle/product/11.1.0/db_1/dbs/log_t666735600_s3_p1 tag=TA                                             G20080929T201958 comment=NONE<br />
channel c1: backup set complete, elapsed time: 00:04:06<br />
Finished backup at 29-SEP-08<br />
released channel: c1</p>
<p>RMAN&gt; print script b_whole;</p>
<p>RMAN-00571: ===========================================================<br />
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============<br />
RMAN-00571: ===========================================================<br />
RMAN-06004: ORACLE error from recovery catalog database: RMAN-20400: stored scri                                             pt not found<br />
RMAN-06083: error when loading stored script b_whole</p>
<p>RMAN&gt; help</p>
<p>RMAN-00571: ===========================================================<br />
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============<br />
RMAN-00571: ===========================================================<br />
RMAN-00558: error encountered while parsing input commands<br />
RMAN-01009: syntax error: found &#8220;identifier&#8221;: expecting one of: &#8220;allocate, amper                                             , alter, advise, backup, beginline, blockrecover, catalog, change, connect, copy                                             , convert, create, crosscheck, configure, duplicate, debug, delete, drop, exit,                                              endinline, flashback, grant, host, import, {, library, list, mount, open, print,                                              quit, recover, register, release, replace, report, renormalize, reset, restore,                                              resync, rman, run, rpctest, repair, revoke, set, setlimit, sql, switch, spool,                                              startup, shutdown, send, show, test, transport, upgrade, unregister, validate&#8221;<br />
RMAN-01008: the bad identifier was: help<br />
RMAN-01007: at line 1 column 1 file: standard input</p>
<p>RMAN&gt; ?</p>
<p>RMAN-00571: ===========================================================<br />
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============<br />
RMAN-00571: ===========================================================<br />
RMAN-00558: error encountered while parsing input commands<br />
RMAN-01006: error signaled during parse<br />
RMAN-02001: unrecognized punctuation symbol &#8220;?&#8221;</p>
<p>RMAN&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://oracle.3dub.com/2008/09/29/rman-catalog-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

