Veritas NetBackup™ for Oracle Administrator's Guide
- Introduction
- NetBackup for Oracle QuickStart
- Installing NetBackup for Oracle
- About linking Oracle RMAN with NetBackup for UNIX
- Oracle policy configuration
- Preparing for NetBackup for Oracle configuration
- Instance management for an Oracle Intelligent Policy
- About Oracle Intelligent Policies (OIP)
- About script- or template-based Oracle policies
- About adding backup selections to an Oracle policy
- About configuring the run-time environment
- About creating templates and shell scripts
- About creating RMAN scripts manually
- Performing backups and restores of Oracle
- About NetBackup for Oracle backups
- About NetBackup for Oracle restores
- Using NetBackup for Oracle in a Microsoft Windows cluster environment
- Guided Recovery
- Troubleshooting Guided Recovery
- NetBackup for Oracle with Snapshot Client
- About NetBackup for Oracle with Snapshot Client
- How NetBackup for Oracle with Snapshot Client works
- About configuring Snapshot Client with NetBackup for Oracle
- Restoring NetBackup for Oracle from a snapshot backup
- About configuring NetBackup for Oracle block-level incremental backups on UNIX
- About Snapshot Client effects
- About Oracle support for Replication Director
- Troubleshooting
- Troubleshooting RMAN backup or restore errors
- Appendix A. Real Application Clusters
- Appendix B. Best practices for protecting Oracle RAC with NetBackup
- Appendix C. Deduplication best practices
- Appendix D. Snapshot Client support of SFRAC
- Appendix E. Script-based block-level incremental (BLI) backups without RMAN on UNIX and Linux systems
- Verifying installation requirements for BLI backups without RMAN
- Creating NetBackup policies for script-based BLI backup
- Creating notify scripts for BLI backups
- Performing backups and restores
- About troubleshooting backup or restore errors
- Appendix F. XML Archiver
- NetBackup for Oracle XML export and XML import
- About XML export templates and shell scripts
- Performing an XML export archive
- Restoring an XML export archive
- Troubleshooting XML export or XML import errors
- Appendix G. Register authorized locations
Creating an Oracle policy
The easiest method to set up a backup policy is to use the Policy Configuration Wizard. This wizard guides you through the setup process by automatically choosing the best values for most configurations.
Not all policy configuration options are presented through the wizard (for example, calendar-based scheduling and the Data Classification setting). After the policy is created, modify the policy in the Policies utility to configure the options that are not part of the wizard.
Use the following procedure to create a policy using the Policy Configuration Wizard.
To create a policy with the Policy Configuration Wizard
- In the NetBackup Administration Console, in the left pane, click NetBackup Management.
- In the right pane, click Create a Policy to begin the Policy Configuration Wizard. The first panel of the Policy Configuration Wizard appears.
- Select Oracle - Backup Oracle data on the panel, then click Next.
- Follow the prompts. Click Help on any wizard panel for assistance while running the wizard.
Use the following procedure to create a policy without using the Policy Configuration Wizard.
To create a policy without the Policy Configuration Wizard
- In the NetBackup Administration Console, in the left pane, expand NetBackup Management > Policies.
- On the Actions menu, click New > New Policy.
- Type a unique name for the new policy in the Add a New Policy dialog box. If necessary, clear the Use Policy Configuration Wizard check box, then click OK.
The Attributes tab of the Add New Policy dialog box appears along with the following set of tabs across the top of the panel:
- In the Policy Type pulldown menu, select Oracle. This action causes the tabs across the top of the panel to change to the following:
- The Add New Policy panels contain some default conditions and some parameters that you must specify. 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 set of tabbed pages:
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.
- (Optional) Create
bpstart_notify
andbpend_notify
scripts for an Oracle Intelligent Policy (OIP).For an OIP, the scripts must include the
.policyname
or.policyname.schedule
suffix or the script does not run at the start or end of the policy. An OIP ignores the genericbpstart_notify
andbpend_notify
scripts and they do not work for a non-OIP.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
bin
directory 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_instance1
or/usr/openv/netbackup/bin/bpend_notify.oip_instance2.full
Windows:
install_path\NetBackup\bin\bpstart_notify.oip_instance1.bat
orinstall_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