About adding backup selections to an Oracle policy
The backup selections list in a database policy has a different meaning than for non-database policies. For example, in a Standard or MS-Windows policy, the list contains files and directories to be backed up.
In a database policy, you specify scripts to be run.
Observe the following rules when you use scripts:
Make sure that the scripts reside on each client in the client list.
NetBackup installs sample scripts when you install the software; you can modify these scripts for your own use.
All scripts must be in an authorized location.
If you use NetBackup for Oracle in a NetBackup server cluster, make sure that the scripts reside in a location that is available after a failover.
Note:
All scripts must be stored and run locally. One recommendation is that scripts should not be world-writable. Scripts are not allowed to be run from network or remote locations. Any script that is created and saved in the NetBackup db_ext (UNIX) or dbext (Windows) location needs to be protected during a NetBackup uninstall.
For more information about registering authorized locations and scripts, review the knowledge base article:
Registering authorized locations used by a NetBackup database script-based policy
Add scripts to the backup selections list only if you want to set up a policy for automatic backups. These scripts are run for manual backups and for automatic schedules as specified under the Schedules tab. NetBackup runs the scripts in the order that they appear in the backup selections list.