About the environment variables set by NetBackup for Oracle
When an automatic schedule runs, NetBackup sets environment variables for shell scripts to use. These variables are set only if the backup is started from the server, either automatically by the NetBackup scheduler or manually through the administrator interface.
On UNIX and Windows, these variables can be used to perform conditional operations within the backup script.
Table: Variables that NetBackup for Oracle sets shows the variables.
Table: Variables that NetBackup for Oracle sets
Environment variable | Purpose |
|---|---|
NB_ORA_SERV | Name of the NetBackup server that initiated the automatic schedule. |
NB_ORA_POLICY | Name of the Oracle policy that contained the automatic schedule. |
NB_ORA_CLIENT | Name of the NetBackup client in the policy. |
NB_ORA_FULL | Set to 1 for a Full schedule. |
NB_ORA_INCR | Set to 1 for a Differential incremental schedule. |
NB_ORA_CINC | Set to 1 for a Cumulative incremental schedule. |
NB_ORA_PC_SCHED | Name of the automatic schedule. |