Oracle® Database Backup and Recovery Advanced User's Guide 10g Release 2 (10.2) Part Number B14191-02 |
|
|
View PDF |
The following examples use the following sample connection data, and assume that a recovery catalog is being used.
Value | Description |
---|---|
SYS |
User with SYSDBA privileges |
oracle |
The password for connecting as SYSDBA specified in the target database's password file |
trgt |
The net service name for the target database |
rman |
User that owns the recovery catalog schema. This is a user defined in the recovery catalog database that has been granted the RECOVERY_CATALOG_OWNER role. |
cat |
The password for connecting to the recovery catalog as user RMAN |
catdb |
The net service name for the recovery catalog database |
You can specify either operating system or Oracle Net authentication information on the command line when you start the RMAN client.
This example shows how to use operating system authentication to connect to the target database and Oracle Net authentication for the recovery catalog:
% rman TARGET / CATALOG rman/cat@catdb
This example shows how to use Oracle Net authentication to connect to both the target database and the recovery catalog:
% rman TARGET SYS/oracle@trgt CATALOG rman/cat@catdb
You can also start RMAN and connect to the target database from the RMAN prompt. The following example uses operating system authentication for the target database and Oracle Net authentication for the recovery catalog:
% rman RMAN> CONNECT TARGET / RMAN> CONNECT CATALOG rman/cat@catdb
The following example uses Oracle Net password file authentication for the target database, which requires that the target database be using a password file, that defines the password for user SYS to be 'oracle'. Oracle Net authentication is also used for the recovery catalog.
% rman RMAN> CONNECT TARGET SYS/oracle@trgt RMAN> CONNECT CATALOG rman/cat@catdb
See Also:
Oracle Database Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide for details on connecting RMAN to a RAC cluster.