Connecting to RMAN can be achieved by simply typing RMAN at the operating system prompt. RMAN CONNECT is used to connect with target databse or catalog. Some of the common operation are as follows

Syntax of RMAN connect Command

RMAN
[ TARGET connectStringSpec
| { CATALOG connectStringSpec }
| LOG ['] filename ['] [ APPEND ]
.
.
.
]...

connectStringSpec::=
['] [userid] [/ [password]] [@net_service_name] [']

Connect to RMAN without any Connection

Following command used to connect RMAN client withour any connection. RMAN displays a prompt for your commands as shown in the following example. Connections to a target or auxiliary database require the SYSDBA privilege

C:\RMAN
Recovery Manager: Release 10.2.0.0.0 – Beta on Tue Mar 8 15:31:04 2005
Copyright (c) 1982, 2004, Oracle. All rights reserved.

RMAN>

Connect to RMAN With Target Database

The following example starts RMAN and connect to database (target)

C:\RMAN
RMAN> CONNECT TARGET SYS/pass@TEST1;

Here:
CONNECT and TARGET is RMAN keywords
SYS is the username and pass is the password
TEST1 is the name of target database

Connect to RMAN With Recovery Catalog

The following example connect to rman catalog

C:\RMAN
RMAN> CONNECT CATALOG rman/cat@devdb;

Connect to RMAN Without Recovery Catalog

The following example connect to rman without catalog

C:\RMAN TARGET SYS/SRDC@TEST1
OR
C:\RMAN TARGET SYS/SRDC@TEST1 NO CATALOG

Exiting RMAN

To quit the RMAN client, enter EXIT at the RMAN prompt.

RMAN> EXIT
Go to top
JSN Boot template designed by JoomlaShine.com