Editing the oracle rman script, Editing the oracle rman, Script – HP A.06.11 User Manual

Page 70

Advertising
background image

EOF
echo "Oracle database \"$DB_NAME\" started."
exit 0
else
echo "Cannot find Oracle SQLPLUS ($ORACLE_HOME/bin/sqlplus)."
exit 1
fi

Editing the Oracle RMAN script

The RMAN script is used when the Data Protector backup specification is started to
perform a backup of the Oracle objects.

The RMAN script section is not written to the backup specification until the backup
specification is either saved or manually edited by clicking the Edit button.

You can edit the RMAN script section of only after the Data Protector Oracle backup
specification has been saved.

Limitations

When editing the RMAN script sections of the Data Protector backup specifications,
consider the following limitations:

The Oracle manual configuration convention must be used and not the Oracle
automatic configuration convention.

Double quotes (") must not be used - single quotes should be used instead.

By default, RMAN scripts created by Data Protector contain instructions for backing
up one or more of the following objects:
• Databases, tablespaces, or datafiles (the first backup command)
• Archive logs (the second backup command)

• With Oracle 10g/11g, the flash recovery area (the third backup command)
• Control files (the last backup command)
The RMAN scripts with all combinations of the above listed backup objects are
recognized by Data Protector as its own scripts and it is possible to modify the
selection of objects that will be backed up in the Source tab of the Results Area.
If the RMAN script contains additional manually entered backup commands, for
example a second backup command for backing up a database that is already
listed in the first backup command, the object selection is disabled and it is only
possible to browse the Source tab.

Integrating Oracle and Data Protector

70

Advertising