BPSTART and BPEND scripts should reside on the EV server that is being backed up, in the C:\Program Files\VERITAS\NetBackup\bin directory (where the NetBackup agent is installed)
Also the name of the BPSTART and BPEND file should include the name of the NBU policy that is configured to do the backup, for example we have a policy named "Shared_Enterprise_Vault_NearStore", so the BPSTART and BPEND files are named:
bpstart_notify.Shared_Enterprise_Vault_NearStore.bat
bpend_notify.Shared_Enterprise_Vault_NearStore.bat
I used the Out-of-the-box BPSTART and BPEND files and modified them by adding the following lines:
ECHO ***BPSTART***>C:\temp\LOCK.%1.%2.%3.%4.%5.%STREAM_NUMBER%-%STREAM_COUNT%
REM if %STREAM_NUMBER%==1 START /WAIT D:\Support\EVBACKUP\EV-ReadOnly.cmd
REM if %STREAM_NUMBER%==0 START /WAIT D:\Support\EVBACKUP\EV-ReadOnly.cmd
ECHO bpstart_notify.Shared_Enterprise_Vault_NearStore.bat RAN %DATE% %TIME% %1.%2.%3.%4.%5.%6.%STREAM_NUMBER%-%STREAM_COUNT%>>C:\start-Shared_Enterprise_Vault_NearStore.txt
And my EV-ReadOnly.cmd has this:
CSCRIPT D:\Support\EVBACKUP\EV-READONLY.vbs
EXIT