ビデオヘルプ

using bpstart_notify scripts

作成: 09 May 2013 • 更新: 14 May 2013 | コメント数: 7
この問題は解決されました。 ソリューションを参照してください。

hello all, i need assistance on how to apply bpstart_notify & bpend_notify to control a specific jobs in backup policy. In simple explanation, i want to use bpstart and bpend to control the scripts that shut down databases, do a backup and talk to the script to bring up the database once backup is completed.

Thank you all.

オペレーティングシステム

コメント コメント数: 7最新のコメントを表示

Yasuhisa Ishikawa の写真

If you want to apply bpstart_notify.bat(or bpend_notify.bat)to specific policy, place script as bpstart_notify.policy_name.bat(or bpend_notify.policy_name.bat) instead.

I recommend you not to enable "Allow multiple streams" attribute in policy because these scripts are kicked multiple times if enabled.

Authorized Symantec Consultant(ASC) Data Protection in Tokyo, Japan

Dolly の写真

Yasuhisa, Please how do i present this bpstart_notify to control another script. In this case, the oracle script. thank you

Yasuhisa Ishikawa の写真

bpstart_notify is batch script, so just write command line in it to kick another script.
Or use CMD.EXE or CALL(for batch file only) as below:

Example1:

@ECHO OFF
CMD.EXE /C C:\your_command_path\your_command.exe command_arg1 command_arg2 ...

Example2:

@ECHO OFF
CALL C:\your_script_path\your_script.bat batch_arg1 batch_arg2 ...

Authorized Symantec Consultant(ASC) Data Protection in Tokyo, Japan

ソリューション
Dolly の写真

Thank you so much Yasuhisa for support. I have also read this, but one more quick question am confused with, am i suppose to copy the bpstart_notify script to /netbackup/bin directory on the client? as well as the master server? thanks

Yasuhisa Ishikawa の写真

bpstart_notify is executed on clients. You need to place it on the clients on which you want to run pre-backup oparations.

Authorized Symantec Consultant(ASC) Data Protection in Tokyo, Japan

Dolly の写真

Hi Yasuhisa, quick one again...how can i configure bpstart_notify to notify me by email ones it kick off the custom script?

thank you.

Yasuhisa Ishikawa の写真

Unfortunately no way in NetBackup.

Install some mailing software like BLAT, and write mailing command in your script.

Authorized Symantec Consultant(ASC) Data Protection in Tokyo, Japan