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. Modifying the NetBackup for SAP backup scripts
Veritas NetBackup™ for SAP Administrator's Guide

Modifying the NetBackup for SAP backup scripts

This topic describes how to modify the backup scripts for NetBackup for SAP.

To modify the backup scripts

  1. Copy the example script(s) from one of the following director(ies) to a different location on your client.

    UNIX or Linux:

    /usr/openv/netbackup/ext/db_ext/sap/scripts/sap_oracle
    /usr/openv/netbackup/ext/db_ext/sap/scripts/sap_maxdb

    Windows:

    install_path\NetBackup\DbExt\SAP\samples

    The SAP scripts must reside in an authorized location on the client. Do not store your scripts in the sample directory because your modifications are lost if you upgrade or reinstall. Always relocate your scripts to a safe location. If the client is clustered, this location must be available after a failover.

  2. Enable proper permissions on the script files so NetBackup can run the scripts.

    On UNIX or Linux, set the access permissions of these scripts to 775.

  3. Modify the script according to the instructions in the file.

    On UNIX or Linux, remember to edit the lines that starts with su. If you do not include su - user in your script, it does not run with the proper account and environment variables. (user is the SAP administrator account.) This situation can lead to problems with database backups and restores.

  4. Test the scripts you created.

More Information

Registering authorized locations used by a NetBackup database script-based policy

Example NetBackup for SAP backup script (Windows)

Example NetBackup for SAP backup script (UNIX)

Performing a manual backup

Feedback

Was this page helpful?
Previous

NetBackup for SAP backup scripts

Next

Example NetBackup for SAP backup script (Windows)

Feedback

Was this page helpful?