About the NetBackup for Oracle sample scripts

Article:HOWTO44889  |  Created: 2011-03-16  |  Updated: 2011-03-16  |  Article URL http://www.symantec.com/docs/HOWTO44889
Article Type
How To


Environment

Subject


About the NetBackup for Oracle sample scripts

When you install NetBackup for Oracle, the installation writes example scripts to the following directory:

Windows: install_path\NetBackup\dbext\Oracle\samples\rman
UNIX/Linux: install_path/netbackup/ext/db_ext/oracle/samples/rman

The Oracle example scripts are as follows:

Windows:

pit_database_restore.cmd
hot_tablespace_backup.cmd
hot_database_backup.cmd
database_restore.cmd
cold_duplex_database_backup_full.cmd
cold_database_backup.cmd

UNIX and Linux:

pit_database_restore.sh
hot_tablespace_backup.sh
hot_database_backup.sh
database_restore.sh
cold_duplex_database_backup_full.sh
cold_database_backup.sh

Table: NetBackup for Oracle sample scripts explains some of the sample scripts that are provided with NetBackup for Oracle.

Table: NetBackup for Oracle sample scripts

Script

Purpose

UNIX and Linux: cold_database_backup.sh

Windows: cold_database_backup.cmd

This script sets the environment and calls RMAN with the appropriate commands to perform a whole database backup. It is used for both full backups and incremental backups. When a schedule runs, NetBackup sets environment variables that the script uses to perform a backup.

UNIX and Linux: hot_database_backup.sh

Windows: hot_database_backup.cmd

This script sets up the environment and calls RMAN with the appropriate commands to perform a whole database backup. It is used for both full backups and incremental backups. When a schedule runs, NetBackup sets environment variables that the script uses to perform the backup. With the proper schedules, you can use this script to run a backup every week on Friday night and an incremental backup each night for the rest of the week automatically.

UNIX and Linux: cold_duplex_database_backup_full.sh

Windows: cold_duplex_database_backup_full.cmd

This script sets up the environment and calls RMAN to run commands that make two copies of a cold (consistent) database backup.

See Using the NetBackup for Oracle sample scripts

See About creating RMAN scripts manually

See Adding a new policy


Legacy ID



v24633730_v55771040


Article URL http://www.symantec.com/docs/HOWTO44889


Terms of use for this information are found in Legal Notices