(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
system@DAVE> alter user rman account unlock; <br> <br>User altered. <br> <br>system@DAVE> connect rman/rman <br>Connected.<br>create user rman identified by rman... <br> <br>grant connect, resource, recovery_catalog_owner to rman;<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
system@TEST> select * from v$pwfile_users; <br> <br>USERNAME SYSDB SYSOP <br>------------------------------ ----- ----- <br>SYS TRUE TRUE <br>SYSTEM TRUE FALSE<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
BEATLES = <br> (DESCRIPTION = <br> (ADDRESS_LIST = <br> (ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.50)(PORT = 1521)) <br> ) <br> (CONNECT_DATA = <br> (SERVER = DEDICATED) <br> (SERVICE_NAME = test) <br> ) <br> )<br>Target database<br>Must use dedicated connection<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
system@DAVE> create tablespace rcat datafile size 50m; <br> <br>Tablespace created. <br> <br>system@DAVE> alter user rman <br> 2 default tablespace rcat <br> 3 quota unlimited on rcat; <br> <br>User altered.<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
C:\>rman target=system/dave@beatles catalog=rman/rman <br> <br>RMAN> create catalog tablespace rcat; <br> <br>recovery catalog created<br>Start RMAN, connect to target and catalog databases.<br>Create a new catalog<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
RMAN> register database; <br> <br>database registered in recovery catalog <br>starting full resync of recovery catalog <br>full resync complete<br>rman@DAVE> select dbid, name from rc_database; <br> <br> DBID NAME <br>---------- ------------------------------ <br>1808373586 TEST<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
C:\>rman target=sys/change_on_install@prod catalog=rman/rman@recovery<br>C:\>rman . . . LOG=c:\oracle\backups\rman.log<br>C:\>rman …cmdfile "c:\rman\backup.rmn"<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
C:\>rman <br>Recovery Manager: Release 9.0.1.1.1 - Production <br>(c) Copyright 2001 Oracle Corporation. All rights re <br> <br>RMAN> connect target sys/change_on_install <br>connected to target database: PROD (DBID=4167529595) <br> <br>RMAN> connect catalog rman/rman@recovery <br>connected to recovery catalog database<br>Connect to catalog DB before doing ops that require repository<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).