Monday, 30 January 2012 00:00 | Written by RMAN Backup
Connecting to RMAN can be achieved by simply typing rman at the operating system prompt.
Syntax of RMAN connect Command
RMAN
[ TARGET connectStringSpec
| { CATALOG connectStringSpec }
| LOG ['] filename ['] [ APPEND ]
.
.
.
]...
connectStringSpec::=
['] [userid] [/ [password]] [@net_service_name] [']
Connecting 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>
Connecting 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
Connecting to RMAN With Recovery Catalog
The following example connect to rman catalog
C:\RMAN RMAN> CONNECT CATALOG rman/cat@devdb;
Connecting to RMAN Without Recovery Catalog
The following example connect to rman without catalog
C:\RMAN RMAN> TARGET SYS/SRDC@TEST1 NO CATALOG;
Exiting RMAN
To quit the RMAN client, enter EXIT at the RMAN prompt.
RMAN> EXIT
| Related Articles | Latest Articles |
