beautypg.com

Setting up netbackup policies for oracle – HP 3PAR Application Software Suite for Oracle User Manual

Page 51

background image

Setting Up NetBackup Policies for Oracle RMAN Backup

The following sections describe how to set up NetBackup (NBU) policies for NBU backup with
RMAN.

To perform NBU backup with RMAN, you must have Symantec NetBackup for Oracle (NBU Agent
for Oracle) installed on the NBU master server, Symantec NetBackup client for Oracle installed
on the database server and the backup server. Refer to Symantec NetBackup for Oracle for
installation and configuration instructions.

In addition, you must create an Oracle RMAN Recovery Catalog and configure Oracle TNS Service
and Listener to allow connections to the Recovery Catalog from the database server and backup
servers. The Recovery Catalog can be created on any server. Recovery Manager for Oracle
recommends that the Recovery Catalog be created on the backup server. See

“Creating an RMAN

Recovery Catalog” (page 52)

for instructions.

When performing NBU backup with RMAN, Recovery Manager supports full, differential, and
cumulative incremental database backup. Recovery Manager also support full archive log backup
(backup only archive logs).

Recovery Manager for Oracle requires that you create a NBU policy for database backup. If you
wish to perform archive log backup, you must create a separate NBU policy for it.

NOTE:

This section assumes that you are familiar with Oracle Database and Symantec NetBackup

(NBU). For more information on how to create NetBackup policy, refer to Symantec NetBackup
for Oracle documentation.

Configuring the NetBackup Policy for Database Backup with RMAN

NOTE:

NBU server-side backup (initiated by the NBU scheduler) can now be used when Recovery

Manager for Oracle is configured to run as either the root user or Oracle owner. Previously, NBU
server-side backup was only available if Recovery Manager for Oracle was configured for the root
user.

NOTE:

If Recovery Manager for Oracle is configured to be run as an Oracle user and this is an

upgrade from previous Recovery Manager release, the rmora_config command must be run
again for each database that is configured for server-side backup.

NOTE:

Run the script /usr/openv/netbackup/bin/oracle_link for Oracle to connect

to the Oracle library on the database and backup servers to point to the Symantec NetBackup
Media Library.

For Recovery Manager for Oracle to perform backup and restoration correctly, you must use the
following guidelines in conjunction with Symantec NetBackup documentation when configuring a
NBU policy:

Select the Oracle type for the policy.

Backup Attribute

1.

Recovery Manager for Oracle will generate the RMAN backup script at the specified location
when you create the configuration file.

Backup Selections

Backup Schedule

1.

Create two schedules, one for full backup and one for incremental backup (optional). For
the incremental backup schedule, you can create either a differential incremental or cumulative
incremental backup schedule.

2.

If you wish to perform client-side database backup (initiated from Recovery Manager), set
the backup window to 0.

3.

If you also wish to perform automatic database backup (initiated from NBU), specify the
backup window to fit your needs.

Set the backup client to the host name of the backup server, as the backup process will actually
take place on the backup server.

Backup Clients

Setting Up NetBackup Policies for Oracle RMAN Backup

51