Oracle8i Backup and Recovery Guide Release 8.1.5 A67773-01 |
|
A sub-clause specifying the username, password, and net service name for connecting to a target, recovery catalog, or auxiliary database. The connection is necessary to authenticate the user and identify the database.
This example connects to the target database using a password and the Net8 service name PROD1:
% rman target sys/change_on_install@prod1 nocatalog
This example connects to the target database as user SYS but without specifying a password at the command line:
% rman target sys Recovery Manager: Release 8.1.5.0.0 target database Password:
This example starts RMAN and then connects to the target database PROD1 using O/S authentication and the recovery catalog database RCAT using a password file:
% rman RMAN> connect target / RMAN> connect catalog rman/rman@rcat
This example connects to three different databases from the command line, specifying a username, password, and net service name for each:
% rman target sys/sysdba@prod1 catalog rman/rman@rcat auxiliary sys/sysdba@dupdb