| Oracle8i Recovery Manager User's Guide and Reference Release 2 (8.1.6) Part Number A76990-01  | 
  | 
Recovery Manager Command Syntax, 12 of 50
   
To establish a connection between RMAN and a target, auxiliary, or recovery catalog database.
You can only use the connect command if you are at the RMAN prompt and if you are not already connected.
| 
 establishes a connection between RMAN and the target database. See "connectStringSpec".  | 
||
| 
 establishes a connection between RMAN and the recovery catalog database. See "connectStringSpec".  | 
||
| 
 establishes a connection between RMAN and an auxiliary instance. An auxiliary instance can be used with the duplicate command or used during TSPITR. See "connectStringSpec".  | 
||
This example starts RMAN and then connects to the target database with a Net8 service name prod1: 
% rman nocatalog RMAN> connect target sys/change_on_install@prod1;
This example starts RMAN and then connects to the target database PROD1 using operating system authentication and the recovery catalog database RCAT using a password file:
% rman RMAN> connect target /; connect catalog rman/rman@rcat;
This example connects to three different databases specifying a username and password for each:
% rman RMAN> connect target sys/sysdba@prod1; RMAN> connect catalog rman/rman@rcat; RMAN> connect auxiliary sys/sysdba@dupdb;
| 
 | 
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved.  | 
 
  |