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™ Snapshot Client Administrator's Guide
  3. Policy configuration
  4. Configuring backup scripts
Veritas NetBackup™ Snapshot Client Administrator's Guide

Configuring backup scripts

For backups using a snapshot method, you can run scripts before and after the snapshot by adding directives to the Backup Selections list, as follows.

To configure backup scripts

  1. On the master server, open the NetBackup Administration Console.
  2. Click Policies.
  3. In the All Policies pane, double-click the name of the policy.

    The Change Policy dialog appears.

  4. Click the Backup Selections tab.
  5. Add the following directive to the start of the Backup Selections list:
    METHOD=USER_DEFINED
  6. Add one or both of the following directive(s), as required.
    DB_BEGIN_BACKUP_CMD=your_begin_script_path
    DB_END_BACKUP_CMD=your_end_script_path

    Note:

    DB_BEGIN_BACKUP_CMD and DB_END_BACKUP_CMD directives are not supported for Windows clients.

    The arguments (arg) are optional.

    For example:

    In this example, the script shutdown_db.ksh is run before the backup, and restart_db.ksh is run after the snapshot is created.

Feedback

Was this page helpful?
Previous

Snapshot Resources

Next

About using alternate client backup

Feedback

Was this page helpful?