In order to run RMAN, you must have SYSDBA privileges, either through operating system authentication or by use of a password file. If you are using OS authentication, you must also properly establish the following target environment variables:
To run Recovery Manager, you call the RMAN executable at the command prompt with the following command:
RMAN displays the following prompt:
You can connect to a target database and a recovery catalog within RMAN by issuing the CONNECT command, described later in this section.
You can specify the following options when invoking the RMAN executable:
Specifies a string containing the connect string for the target database. If you do not include a connect string, RMAN connects to the Oracle database specified by the ORACLE_SID environment variable.
Specifies a string containing the connect string for the recovery catalog database. If you do not specify a recovery catalog when you connect or within RMAN, backup operations will proceed without a catalog.
Indicates that RMAN will not start with a particular recovery catalog. With Oracle9i, this is the default.
Specifies a string containing the connect string for the recovery catalog database. Auxiliary databases are used to create duplicate standby databases (see the DUPLICATE command entry later in this section) or to implement tablespace point-in-time recovery.
Specifies a string containing the filename specifying RMAN commands. ...