cancel
Showing results for 
Search instead for 
Did you mean: 

pre/post batch script.

screenburn
Level 4
Hi,
I am using NetBackup 6.5 on windows 2003 server. I have installed the customized application on Windows server (other than the master backup server) I would like to stop the services before the backup and start the application after backup.
 
I know that scripts bpstart_notify and bpend_notify  are available, but I am really confused to use it.
 
I have made one batch file on the client side to start and stop the services. How can I integrate the batch file on the client side so that my NetBackup server can start/stop the application services?

Regards/Maged.
1 REPLY 1

Nicolai
Moderator
Moderator
Partner    VIP   

Copy the bat file to the client (in [install_path]\netbackup\bin ) and call it bpstart_notify.bat. Netbackup will then call the script when ever a backup start  (bpstart_notify) or end (bpend_notify.bat). You can also control what policy should run the script by adding a policy name to the script name (see tech note).

tech note : http://seer.entsupport.symantec.com/docs/276447.htm

Update:

How to create bpstart_notify.bat and bpend_notify.bat scripts?

http://www.tek-tips.com/viewthread.cfm?qid=478993&page=88