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
Troubleshooting each stage of the XML export or XML import
The information in this section does not apply to you if DIRECTORY is specified in bporaexp or bporaimp command's parfile.
The following explains the sequence of events for an action that bporaexp or bporaimp initiates in NetBackup mode. This situation occurs when DIRECTORY is not specified in the bporaexp or bporaimp command's parfile. It suggests solutions for the problems that can occur at each point in the sequence.
To troubleshoot by stage
- bporaexp or bporaimp starts.
An export or import can be started in any of the following ways:
Command line from the system prompt.
For example:
bporaexp parfile = parameter_filename bporaimp parfile = parameter_filename
Using a template that is run from the NetBackup client GUI or bpdbsbora.
Manually from the NetBackup Administration Console on the master server.
Automatically by an automatic export schedule.
If an error occurs now, check the bporaexp or bporaimp log.
- bporaexp or bporaimp verifies its environment and then connects to Oracle and NetBackup.
An Oracle environment problem, a database problem, an incorrect user ID, or an incorrect password can cause Oracle connect errors.
A NetBackup error now is usually due to a problem with client and server communication. Check the messages in the bprd and bpcd logs for clues.
Also verify the bp.conf entries on the UNIX or Linux client.
- bporaexp or bporaimp issues a backup or restore request.
Before the backup or restore request proceeds, bporaexp or bporaimp commands perform three functions:
Gather necessary parameters
The backup or restore request is sent to the NetBackup server
Wait until the server and client are ready to transfer data
The NetBackup client interfaces gather information from the following places:
The environment, including bporaexp and bporaimp parameter files. If you use templates, the parameter files are generated from the template.
If you use scripts, you have to generate the parameter file manually.
Server configuration parameters on Windows.
The user's bp.conf and /usr/openv/netbackup/bp.conf files on the UNIX or Linux client.
This information is sent to the master server's bprd process.
To troubleshoot a backup problem in this part of the sequence, examine the following file:
Windows:
install_path\NetBackup\logs\bporaexp\log.mmddyy
UNIX:
/usr/openv/netbackup/logs/bporaexp/log.mmddyy
If the bprd process failed, check the bprd and bpbrm logs.
During this sequence, most failures occur because of incorrect NetBackup server or Oracle policy configuration parameters.
NetBackup can usually select the correct Oracle policy and schedules. However, NetBackup can select a policy or schedule in error if there are several Oracle policies in its database.
In Windows, try setting the SERVER and POLICY values in the client environment or by setting the following bporaexp parameters:
NB_ORA_POLICY=policyname NB_ORA_SCHED=schedule NB_ORA_SERV=NetBackup_server NB_ORA_CLIENT=NetBackup_client
In UNIX, try setting the SERVER and POLICY values in the bp.conf file on the client or by setting the following bporaexp parameters:
NB_ORA_POLICY=policyname NB_ORA_SCHED=schedule NB_ORA_SERV=NetBackup_server NB_ORA_CLIENT=NetBackup_client
To troubleshoot a restore, examine the following log file:
Windows:
install_path\NetBackup\logs\bporaimp\mmddyy.log
UNIX:
/usr/openv/netbackup/logs/bporaimp/log.mmddyy
Make sure that the correct NetBackup server and NetBackup client values are used by setting the following bporaimp parameters:
NB_ORA_SERV=NetBackup_server NB_ORA_CLIENT=NetBackup_client
Set these parameters to the same values that were used for the XML export operation.
- bporaexp or bporaimp issues read or write requests to the NetBackup client, which then transfers data to or from the NetBackup server.
bporaexp builds an SQL query for each table being archived, and it uses the Oracle Call Interface (OCI) to run the query. The query results are translated into XML. The XML output is passed to the NetBackup client interfaces.
bporaimp uses the reverse process. That is, XML data is restored, parsed, and inserted into the database.
A failure here is probably due to an Oracle error, or to a NetBackup media, network, or timeout error.
- bporaexp or bporaimp tells the NetBackup client to close the session and disconnects from the Oracle database.
The NetBackup client waits for the server to complete its necessary actions (backup image verification and so on) and then exits.