Create an Oracle policy
Use the following procedure to create a policy to protect Oracle databases.
To create a policy
- In the web UI, on the left expand Protection > Policies.
- Click Add.
- Type a unique name for the new policy.
- For the Policy type, select Oracle.
- The default values are the best values for most configurations. However, you may need to customize the parameter settings on one or more of the tabs.
The dialog contains the following tabs:
Attributes tab. Default values are automatically selected on the Attributes tab. More information is available about these attributes.
Schedules tab. More information is available about this tab.
Instances and databases tab. On this page, select the instances and instance groups that you want backed up for the policy. An Oracle Intelligent Policy (OIP) must include either the Protect Instances and Databases or the Protect instance groups option. More information is available about this tab.
Backup selections tab. More information is available about the attributes on this tab.
Oracle tab. More information is available about the attributes on this tab.
See Oracle tab.
- To protect the newly discovered instances, you may have to create the instance group first, then set up a policy for the default instance group.
See Automatically register new instances with an instance group.
- (Optional) Create
bpstart_notifyandbpend_notifyscripts for an Oracle Intelligent Policy (OIP).For an OIP, the scripts must include the
.policynameor.policyname.schedulesuffix or the script does not run at the start or end of the policy. An OIP ignores the genericbpstart_notifyandbpend_notifyscripts and they do not work for a non-OIP.Note:
For RAC OIP backups the
bpstart_notifyand thebpend_notifyscripts must reside on all Oracle RAC nodes.The generic bpstart_notify or bpend_notify scripts reside on the server and the location varies by platform:
UNIX:
/usr/openv/netbackup/bin/goodies/Windows:
Install_path/NetBackup/bin/goodies/
The renamed script must be copied from the server and placed in the NetBackup
bindirectory on the client:UNIX:
/usr/openv/netbackup/bin/Windows:
Install_path\NetBackup\bin\
Examples of renamed scripts:
UNIX:
/usr/openv/netbackup/bin/bpstart_notify.oip_instance1or/usr/openv/netbackup/bin/bpend_notify.oip_instance2.fullWindows:
install_path\NetBackup\bin\bpstart_notify.oip_instance1.batorinstall_path\NetBackup\bin\bpend_notify.oip_instance2.full.bat
For more information about the bpstart_notify and bpend_notify scripts, refer to the NetBackup Administrator's Guide, Volume II.