Oracle® Database Backup and Recovery Advanced User's Guide 10g Release 2 (10.2) Part Number B14191-02 |
|
|
View PDF |
To use the DUPLICATE
command, you need to connect to an auxiliary instance. To perform RMAN TSPITR, you may also need to connect to an auxiliary instance if, for example, you do not let RMAN manage the auxiliary instance for you.
See Also:
Chapter 13, "Creating and Updating Duplicate Databases with RMAN" for more details on using the DUPLICATE command
Chapter 8, "RMAN Tablespace Point-in-Time Recovery (TSPITR)" for more details on performing TSPITR
If the auxiliary instance uses a password file for authentication, then you can connect using a password for either local or remote access. If you are connecting remotely through a net service name, then authentication through a password file is mandatory.
The following dummy values have been substituted into the following examples:
Value | Description |
---|---|
aux |
The password for connecting as SYSDBA specified in the auxiliary database's orapwd file |
auxdb |
The net service name for the auxiliary database |
To launch RMAN connected to an auxiliary instance from the operating system command line, enter the following:
% rman AUXILIARY SYS/aux@auxdb
To connect to target, auxiliary, and recovery catalog databases, launch the RMAN client with these command line arguments:
% rman TARGET SYS/oracle@trgt AUXILIARY SYS/aux@auxdb CATALOG rman/cat@catdb
To launch RMAN without connecting to an auxiliary, and connect to the auxiliary database from the RMAN prompt, enter the following commands:
% rman RMAN> CONNECT AUXILIARY SYS/aux@auxdb
To connect to the target, auxiliary, and recovery catalog databases from within RMAN, enter the following commands:
% rman RMAN> CONNECT TARGET SYS/oracle@trgt RMAN> CONNECT CATALOG rman/cat@catdb RMAN> CONNECT AUXILIARY SYS/aux@auxdb