Oracle9i Recovery Manager Reference Release 1 (9.0.1) Part Number A90136-02 |
|
RMAN Commands , 17 of 60
A subclause 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.
SYSDBA
privileges on the target and auxiliary databases.
SYS
.
This example connects to the target database by using a password and the Oracle Net service name prod1
in the default NOCATALOG
mode:
% rman TARGET SYS/change_on_install@prod1
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 9.0.1.0.0 target database Password:
This example starts RMAN and then connects to the target database prod1
by using operating system authentication and the recovery catalog database rcat
using a net service name:
% 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/pwd1@prod1 CATALOG rman/rman@rcat AUXILIARY SYS/pwd2@dupdb
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|