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. About NetBackup template and shell script storage
Veritas NetBackup™ for DB2 Administrator's Guide

About NetBackup template and shell script storage

NetBackup stores templates and shell scripts in the following ways:

Template storage

The backup wizard saves a backup template to a location specific to NetBackup on the current NetBackup master server. NetBackup retrieves a backup template from the master server as part of a backup (server-directed, scheduled, or user-directed) and runs it on the client. A backup template is associated with a policy by specifying its name in the policy file or script list. Because backup templates are stored on the server in a known location, server-directed and scheduled backups use the same copy of the template for each client in the policy client list.

The recovery wizard saves a restore template to a user-specified location on the client. The location that is specified should include a fully qualified path to a directory where the user has write access.

Templates store the encrypted passwords that are decrypted at run-time.

Shell script storage

DB2 scripts must reside on the NetBackup client. Backup scripts are associated with a policy by specifying the file name (including path) in the policy file or script list. For server-directed or scheduled backups, each client in the policy's client list must have a copy of the script with the same name in the same location.

The backup processes and recovery processes sometimes require passwords for DB2 database access and system user accounts.

Template and shell script storage in a NetBackup cluster

Templates and the shell scripts pertain to NetBackup for DB2 environments that are not installed in a cluster.

Refer to the template storage and shell script storage entries in this table.

If you operate within a NetBackup cluster, make sure that the restore templates and shell scripts reside in a file system that is shared between all nodes in the cluster.

More Information

Using the NetBackup for DB2 recovery wizard

About adding backup selections to a DB2 policy

About backup schedules, templates, and scripts

Feedback

Was this page helpful?
Previous

Script parameters

Next

Performing backups and restores of DB2

Feedback

Was this page helpful?