Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. NetBackup™ for Oracle Administrator's Guide
  3. NetBackup for Oracle with Snapshot Client
  4. About Snapshot Client effects
  5. Oracle with Snapshot Client environment variables
NetBackup™ for Oracle Administrator's Guide

Oracle with Snapshot Client environment variables

You can use environment variables to change the number of streams the proxy copy session uses or to specify an alternate backup schedule.

The following list shows the variables that you can set that are specific to NetBackup for Oracle with Snapshot Client:

NB_ORA_PC_SCHED

The NetBackup for Oracle schedule NetBackup uses for a proxy copy file-based backup. (This schedule can be Full, Differential Incremental, or Cumulative Incremental backup type).

For scheduled backups, this variable is passed from the scheduler.

NB_ORA_PC_STREAMS

Specifies the number of backup streams that NetBackup starts simultaneously in each proxy copy session. When a backup starts, NetBackup groups all data files into a specified number of backup streams that are based on the file sizes. NetBackup tries to create streams of equal size.

The default value for NB_ORA_PC_STREAMS is 1.

Only a user can set this variable.

For NetBackup for Oracle with Snapshot Client, the order of precedence for environment variables is the same as for standard NetBackup for Oracle. Refer to the instructions for how to configure the NetBackup and the user variables.

NetBackup for Oracle installs sample scripts in the following location:

Windows:

install_path\NetBackup\dbext\oracle\samples\rman

UNIX:

/usr/openv/netbackup/ext/db_ext/oracle/samples/rman

The following are the scripts for NetBackup for Oracle with Snapshot Client that show how to configure the required variables:

Windows: hot_database_backup_proxy.cmd

UNIX: hot_database_backup_proxy.sh

This script sets the environment and calls RMAN with the appropriate command to perform a whole database proxy backup. When NetBackup runs a schedule, it sets the environment variables that NetBackup for Oracle with Snapshot Client uses. The script shows how to use the RMAN send command to pass the NetBackup for Oracle with Snapshot Client variables with a vendor-specific quoted string.

Windows: hot_tablespace_backup_proxy.cmd

UNIX: hot_tablespace_backup_proxy.sh

This script sets the environment and calls RMAN with the appropriate command to perform a tablespace proxy backup.

If you use scripts, use the send command to pass the environment variables to the agent. The following example uses the send command to specify the values for NB_ORA_PC_SCHED and NB_ORA_PC_STREAMS:

   run {
    allocate channel t1 type 'SBT_TAPE';
    send 'NB_ORA_PC_SCHED= sched, NB_ORA_PC_STREAMS= number';
    backup proxy
    (database format 'bk_%U_%t');
    }

For more information, see the sample scripts that are provided with the agent.

More Information

About configuring the run-time environment

How NetBackup for Oracle with Snapshot Client works

Performing a snapshot rollback restore using a script or RMAN command

Proxy backup examples

How Snapshot Client software affects backup types

How Snapshot Client software affects schedule properties

How Snapshot Client software affects scripts

Feedback

Was this page helpful?
Previous

How Snapshot Client software affects scripts

Next

About Oracle support for Replication Director

Feedback

Was this page helpful?