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. Veritas NetBackup™ for SAP Administrator's Guide
  3. Configuring NetBackup for SAP
  4. NetBackup for SAP backup scripts
  5. NetBackup for SAP backup script parameters
Veritas NetBackup™ for SAP Administrator's Guide

NetBackup for SAP backup script parameters

The SAP scripts that enable the SAP utilities to perform backups and restores use parameters defined in the following sources:

  • Environment variables

  • Configuration files. For example, initSID.utl, where SID is the instance.

  • (UNIX or Linux) NetBackup configuration file (bp.conf)

  • (Windows) NetBackup configuration

You can use the different parameter sources to create SAP scripts to perform different database backup and restore tasks.

For example, you can define %SAP_POLICY% ($SAP_POLICY) in an SAP script to perform different types of backups.

Table: Environment variables describes the environment variables that are created locally when NetBackup's automatic scheduler runs an SAP script. Their values can be used to direct the flow of actions within the script. Some affect the SAP backint interface, and can be changed within the script.

Table: Environment variables

Environment variable

Purpose

$SAP_POLICY
%SAP_POLICY%

Names the NetBackup for SAP policy, if initiated from an automatic backup schedule. If set, specifies the policy to which the application backup jobs will be sent.

$SAP_SCHEDULED
%SAP_SCHEDULED%

Is set to 1 if this operation was initiated from an automatic schedule. If not set to 1, the script can then set values for the other variables during client-initiated operations.

$SAP_SERVER
%SAP_SERVER%

Names the NetBackup server if initiated from an automatic backup schedule. If set, specifies the master server to which the application backup jobs will be sent.

$SAP_USER_INITIATED
%SAP_USER_INITIATED%

The opposite of SAP_SCHEDULED. Is set to 0 if this operation was initiated from an automatic schedule.

SAP_SNC_SCHED 

Names the NetBackup for SAP automatic schedule, if initiated from an automatic schedule.

SAP_FULL/SAP_CINC/SAP_INCR 

If the backup initiated from an automatic schedule, the appropriate one will be set to 1, the others to 0.

SAP_CLIENT 

Names the NetBackup for SAP client from the policy, if initiated from an automatic schedule. If set, specifies the client name which the application backup job will use

Feedback

Was this page helpful?
Previous

Example NetBackup for SAP backup script (UNIX)

Next

Configuring the logon account for the NetBackup Client Service for NetBackup for SAP

Feedback

Was this page helpful?