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™ Administrator's Guide, Volume II
  3. Reference topics
  4. NetBackup notify scripts
  5. backup_exit_notify script
Veritas NetBackup™ Administrator's Guide, Volume II

backup_exit_notify script

The backup_exit_notify.cmd script (on Windows) and the backup_exit_notify script (on UNIX) run on the master server. It's called to perform site-specific processing when an individual backup completes.

The scripts are located in the following directories:

On Windows: Install_path\NetBackup\bin\backup_exit_notify.cmd

On UNIX: /usr/openv/netbackup/bin/backup_exit_notify

NetBackup passes the following parameters to the script:

clientname

Specifies the name of the client from the NetBackup catalog.

policyname

Specifies the policy name from the NetBackup catalog.

schedname

Specifies the schedule name from the NetBackup catalog.

schedtype

Specifies one of the following: FULL, INCR (differential incremental), CINC (cumulative incremental), UBAK, UARC

exitstatus

Specifies the exit code for the entire backup job.

stream

Specifies the backup stream number for a job.

0 = The backup job is not running multiple data streams.

-1 = The job is a parent job.

done_trying

Specifies whether the job will retry.

0 = The job is not complete and will retry.

1= The job is complete and will not retry.

If the system is configured to make 3 attempts in 12 hours, the job could run this script up to 3 times. On the final attempt, the done_trying flag is set to 1. The job has either completed successfully or has failed and exhausted the number of tries.

See the following UNIX example:

backup_exit_notify clientname1 pol_prod sched_fulls FULL 0 -1 1
backup_exit_notify clientname2 pol_prod sched_incr INCR 73 0 1

Feedback

Was this page helpful?
Previous

backup_notify script

Next

bpstart_notify script (UNIX clients)

Feedback

Was this page helpful?