|Oracle9i Recovery Manager Reference
Release 1 (9.0.1)
Part Number A90136-02
RMAN Commands , 20 of 60
To create a script and store it in the recovery catalog for future reference. Stored scripts provide a common repository for frequently executed collections of RMAN commands. Any command that is legal within a
command is permitted in the stored script. The script is not executed immediately; run the script with
Oracle9i Recovery Manager User's Guide to learn how to store scripts in the recovery catalog
Note the following restrictions:
SCRIPTonly at the RMAN prompt.
CATALOGcommand-line option or the
CATALOGcommand, and the catalog database must be open. A connection to the target database is not required.
command within a stored script.
commands do not work within
For descriptions of the individual commands that you can use in a stored script, refer to the appropriate entry, for example, "BACKUP".
Creates a stored script with the specified name. The statements allowable within the brackets of the
This example creates a script called
b_whole_10 that backs up the database and archived redo logs, then executes it: