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
Running RMAN
As an Oracle user, you can run the rman command from the command prompt with the RMAN command file as a parameter. This topic describes how to set the master server to hag
and the Oracle policy to obk
before you start the backup.
On Windows, RMAN functionality runs as a service, so use the send operand to set up the run-time environment. To start a backup using the rman command from the command prompt, type the following:
# send "'NB_ORA_POLICY=obk,NB_ORA_SERV=hag'" cmdfile \ "install_path\oracle\scripts\db_full_backup.rcv"
On UNIX, type the following at the command prompt:
# rman target 'internal/oracle@ORCL' rcvcat 'rman/rman@RCAT' # send "'NB_ORA_POLICY=obk,NB_ORA_SERV=hag'" cmdfile \ '/oracle/scripts/db_full_backup.rcv"
If you intend to connect to a database using a TNS alias, the RMAN send command specifies the environment variables. The example sets the master server to hag and the Oracle policy to obk before you start the backup.
Note:
For rman command script syntax and examples, see your Oracle documentation.
More Information