Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

presched script

Created: 22 Mar 2013 • Updated: 25 Apr 2013 | 3 comments
This issue has been solved. See solution.


We have a request to use a perl script that shoud be executed before the normal file-level backup beings on a windows server which is the best approach to accomplish this task?

I’m thinking to  just create a policy for this script and schedule it before the backup begins

In the client tab section will be the name of the windows client (leafhorse.xx.xx.xx

Would that be the correct or is there a better way?

This is a windows server

Operating Systems:

Comments 3 CommentsJump to latest comment

revarooo's picture

This is what you are looking for:

You add the bpstart notify on the client and when a backup runs it will fire the bpstart_notify script BEFORE the actual data is backed up.

It can be configured for all backups to the client or per policy.

AAlmroth's picture

If it is to run on the client, you would just create a pre-backup script in the \NetBackup\bin folder. If it is in PERL, you would have to wrap it with a .BAT file.

Google on bpstart_notify, and you will find more information on how to use it. You can use it for specific policies and schedules as well.


Stumpr2's picture

Best way? It depends on the function and the importance of the script.

Do you need any wait time from when the script completes to when the backup starts?

Do you need to correct issues from errors or events from the script?

The normal NetBackup policy schedule initiates the backup using bpstart_notify to run the script and a subsequent backup


sometimes a local or 3rd party scheduler initiates the script and also initiates a user directed backups. DBA's like to use this method.

Both ways have been proven to work for many years.

VERITAS ain't it the truth?