NBU$START and NBU$END scripts in OpenVMS
Hello Guys,
I´m triying to excute a script in OpenVMS client before start the backup proccess , I created the NBUSTART.CMD file in [OPENV.NETBACKUP] folder and store a simple commands on it (like create file with name TEST) so what is the next step, how I can make sure that this script will excute before the backup job start , Please advise?
Best regards,
Khaled Mashaykh
Hi Riaan,
Thanks for reply , actually Pre and Post scripts in OpenVMs are totally different from the UNIX.
The start and end notify command files provide user defined pre and post NetBackup processing. They are called only on a backup, not on a restore. The system logical name NBU$START points to the start command file, and NBU$END points to the end command file. Each command file is passed the backup command line from the server in parameter 'P1'. This parameter contains the class and schedule name from the server and other information about the backup. If the start command file returns an OpenVMS error status (lower bit clear) then the backup will not proceed. A returned status of zero is considered a success.
How to do backup
Page number 17 -23
http://www.symantec.com/business/support/index?page=content&id=DOC4238&key=15143&actp=LIST
Please refer the below guide
http://www.symantec.com/business/support/index?page=content&id=DOC4238&key=15143&actp=LIST
Page number 68 -71 (scripts)
Thanks for symantec technical support.