NetBackup™ for Oracle Administrator's Guide
- Introduction
- NetBackup for Oracle QuickStart
- Installing NetBackup for Oracle
- About linking Oracle RMAN with NetBackup for UNIX
- Configuring RBAC for the Oracle administrator
- Managing Oracle instances and databases
- Managing Oracle credentials
- Configuring Oracle policies
- Preparing for NetBackup for Oracle configuration
- About Oracle Intelligent Policies (OIP)
- About script-based Oracle policies
- Managing Oracle RAC
- Performing backups and restores of Oracle
- About NetBackup for Oracle backups
- Managing expired backup images
- About NetBackup for Oracle restores
- Using NetBackup for Oracle in a Windows Server Failover Cluster (WSFC)
- Oracle cloning
- NetBackup Copilot for Oracle
- Configuring an OIP using universal shares (Oracle Copilot)
- Oracle Copilot with instant access
- Prerequisites when you configure an instant access Oracle database
- 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
- NetBackup Dedupe Direct for Oracle
- Using NetBackup Dedupe Direct for Oracle plug-in
- Other Oracle configuration
- Troubleshooting
- Troubleshooting RMAN backup or restore errors
- Appendix A. Deduplication best practices
- Appendix B. Snapshot Client support of SFRAC
- Appendix C. 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 D. XML Archiver
- NetBackup for Oracle XML export and XML import
- About XML export shell scripts
- Performing an XML export archive
- Restoring an XML export archive
- Troubleshooting XML export or XML import errors
- Appendix E. Register authorized locations
Checking the logs to determine the source of an error
This topic describes how to check the logs to determine the source of an error.
To check the logs
- Check the bporaexp or bporaimp log.
If the LOG parameter is specified in the bporaexp or bporaimp command's parfile, the commands write logs to the file that is specified as the argument to the LOG parameter. The commands write log information to the screen if LOG is not specified.
For example, incorrect installation or configuration causes the following common problems:
The ORACLE_HOME environment variable was not set.
The bporaexp or bporaimp program was unable to connect to the target database.
When bporaexp and bporaimp are used and the backup images are written to an operating system directory, these logs are the only source of error logging and tracking.
- Check the NetBackup logs.
On Windows, the first NetBackup log to check is install_path\NetBackup\logs\bporaexp\log.mmddyy or install_path\NetBackup\logs\bporaimp\log.mmddyy.
On UNIX, the first NetBackup log to check is /usr/openv/netbackup/logs/bporaexp/log.mmddyy or /usr/openv/netbackup/logs/bporaimp/log.mmddyy.
Examine these logs for any messages that show how to determine the source of an error.
The NetBackup client writes these logs and they contain the following:
Requests from bporaexp and bporaimp
Activities between bporaexp and bporaimp and NetBackup processes
If the logs do not contain any messages, the following conditions could be present:
bporaexp or bporaimp terminated before service is requested from NetBackup.
bphdb (if started by the scheduler or graphical user interface) did not start the shell script successfully. Check the bphdb logs for stderr and stdout files.
Try to run the XML export or XML import script file from the command line to determine the problem.
On UNIX, the error is usually due to a file permission problem for bphdb itself or for the export or the import script file.
Ensure that the full XML export or import script file name is entered correctly in the Backup Selections list of the Oracle policy configuration. Also verify that this script name is correct.
For more information about debug logs and reports, refer to the NetBackup Administrator's Guide, Volume I.