0% found this document useful (0 votes)
13 views1 page

03 Create Catalog

The document provides steps to create an Oracle recovery catalog database and register a target database with it. It includes commands to create a user, grant privileges, connect to the catalog, create catalog tables, and register the target database.

Uploaded by

Khan Bahi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views1 page

03 Create Catalog

The document provides steps to create an Oracle recovery catalog database and register a target database with it. It includes commands to create a user, grant privileges, connect to the catalog, create catalog tables, and register the target database.

Uploaded by

Khan Bahi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

-- create cataloge

export ORACLE_SID=rmandb
echo $ORACLE_SID

> dbca
-- and create rmandb database without EM and Samples Schema and FRA
-- register both database with listener
-- stop and then start listener

sql> CREATE TABLESPACE rman_tbs DATAFILE


'/u02/app/oracle/oradata/rmandb/rman_tbs01.dbf' SIZE 20M;
SQL> CREATE USER rman_cat IDENTIFIED BY rman_cat TEMPORARY TABLESPACE temp DEFAULT
TABLESPACE rman_tbs QUOTA UNLIMITED ON rman_tbs;

sql> grant connect, resource, dba to rman_cat;

sql> grant recovery_catalog_owner TO rman_cat;

rman> CONNECT CATALOG rman_cat/rman_cat@rmandb

rman> create catalog tablespace rman_tbs;

rman target sys/ir786@orcl catalog rman_cat/rman_cat@rmandb


RMAN> REGISTER DATABASE;

You might also like