bpstart_notify
what does bpstart_notify script and bpend_notify.bat
- This script is called when bpbkar is started for a client backup.
- This script receives six parameters:
%1 = CLIENT_NAME
%2 = POLICY_NAME
%3 = SCHEDULE_NAME
%4 = SCHEDULE_TYPE, one of the following: FULL, INCR, CINC, UBAK, UARC
%5 = STATUS, always 0
%6 = RESULT_FILE
\netbackup\bin\goodies\bpend_notify.bat
- This script is called when bpbkar is finished with a backup job.
- During an archive this script is called after the backup is complete and before the files are deleted.
- This script receives six parameters:
%1 = CLIENT_NAME
%2 = POLICY_NAME
%3 = SCHEDULE_NAME
%4 = SCHEDULE_TYPE, one of the following: FULL, INCR, CINC, UBAK, UARC
%5 = Status of backup
%6 = RESULT_FILE
But what exactgly it does?
Comments 7 Comments • Jump to latest comment
Basically it does what ever you want it to do.
Until you edit the contents, it will do nothing, The contents of the script(s) are not supported by this forum or Symantec, as the contents have nothing to do with NBU, as explained, it is just a script that runs, you write the script to do what you want.
The ONLY invovement of NBU with these scripts, is as follows.
If the script exists in the correct directory, and is names correctly (as explained below) NBU will run the start script at the beginning of the backup, and the end script when the backup has finished.
What the script actually does, is up to you.
It is up to you to customise the script.
http://www.symantec.com/docs/TECH162973
You can control if it runs like this :
Add a .policyname or a .policyname.schedule extension to the bpstart_notify and/or bpend_notify scripts
Install_path\Veritas\NetBackup\bin\bpend_notify.policyname.bat
To run the scripts for a specific schedule, rename the files to:
Install_path\Veritas\NetBackup\bin\bpstart_notify.policyname.schedulename.bat
Install_path\Veritas\NetBackup\bin\bpend_notify.policyname.schedulename.bat
Martin
These scripts are documents in the NetBackup Admin Guides I and II
I thought this looked familiar - same question asked and answered 8 weeks ago:
https://www-secure.symantec.com/connect/forums/bps...
Come on NIKHIL!! You are dissapointing me - there are more scripts and and commands in NBU to query!!!
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
Hmm, at least I appear to have given the correct answer ...
Funnily enough, I've never actually used them, I just read the manual and answered the question.
M
Will we EVER convince NIKHIL to do the same??
I have seen customers stopping databases (e.g. Oracle) with bpstart_notify and start again with bpend_notify.
I have also seen users asking here for assistance with scripts that perform array snapshots and others for stopping DFS Replication.
Unfortunately no Connect points for reading manuals or searching the forums....
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
@Martin:After editing the scripts,i have to run the backup from NBU gui?
It doesn't matter how it is run - via the scheduler, manually, GUI or command line ... For all it matters, Micky Mouse could run the backup. The only condition is that the script exists on the client and is named as shown in the example.
Martin
Would you like to reply?
Login or Register to post your comment.