Invoking the RMAN Executable

In order to use RMAN, you have to invoke the executable. Once you’ve invoked the executable, you get an RMAN prompt, from which you can execute RMAN commands. The executable for RMAN is located with all of the other Oracle executables, in the bin directory of your Oracle installation.

Note

The examples in this section assume that you’re in a Unix environment and have access to the oracle Unix O/S account.

To invoke the RMAN executable, issue the rman command from your O/S command prompt. You are presented with an RMAN prompt:

$ rman

Recovery Manager: Release 9.0.1.0.0 - Production

RMAN>

From here you can use RMAN’s command-line interface language to perform backup and recovery tasks.

Use the exit command to terminate the RMAN executable and return to your O/S command prompt:

RMAN> exit

$

The various command-line choices that are available are described in detail in Section 1.9.3 later in this book.

Get Oracle RMAN Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.