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 DB2 Administrator's Guide
  3. Configuring NetBackup for DB2
  4. About NetBackup for DB2 templates and shell scripts
  5. Creating DB2 scripts manually
  6. Modifying DB2 backup and install scripts
Veritas NetBackup™ for DB2 Administrator's Guide

Modifying DB2 backup and install scripts

The follow procedure describes how to modify scripts. Special configuration is required for a DB2 EEE (DPF) environment.

To modify the DB2 backup and install scripts

  1. Copy the example scripts to a different directory on your client in a safe location. In clustered environments, this location should be available after a failover.
  2. On UNIX, set the access permissions of these scripts to 775.
    chmod 775 script_name
  3. Use a text editor to open the script.
  4. Follow the instructions in the script.
  5. On UNIX, include an su - user line (user is the DB2 instance account) in your scripts. Otherwise, the scripts do not run with the proper permissions and environment variables.
  6. Test the scripts that you created by starting a manual backup of this policy.

    See Performing a manual backup.

More Information

Overview of installation and configuration for a DB2 EEE (DPF) environment

Script parameters

Creating DB2 scripts manually

About backup schedules, templates, and scripts

Feedback

Was this page helpful?
Previous

Creating DB2 scripts manually

Next

Script parameters

Feedback

Was this page helpful?