Oracle® Database Recovery Manager Reference 10g Release 1 (10.1) Part Number B10770-02 |
|
|
View PDF |
connectStringSpec::=
Text description of connectStringSpec
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 10.1.0.2.0 - Production Copyright (c) 1995, 2003, Oracle. All rights reserved. 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