Video Screencast Help
Symantec Appoints Michael A. Brown CEO. Learn more.

bp_start script

Created: 14 Nov 2012 • Updated: 16 Nov 2012 | 5 comments
This issue has been solved. See solution.

 

 ./netbackup/bin/goodies/bpstart_notify.bat

where:

%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

Please provide me the following :

  1. Where to add this script bat file?On client or on Nbu master server?
  2. What to add in  Master server GUI in policy-backup selection?
  3. there should be bp_end script also?
  4. Difference between creating a policy and a script?

 

Comments 5 CommentsJump to latest comment

Will Restore's picture

1. the client

2. nothing additional; normal file directives

3. optional

4. completely different concepts

Backup policies reside on the Master server and provide instructions that NetBackup follows to back up clients.  Use the Policy Wizard to create them.

Script resides on the client and performs pre-backup tasks (shutting down database, for example).  Copy the example script to the client bin directory and edit them to suit your environment.

If needed, bpend_notify can perform post-backup tasks (starting up database, for example). 

Will Restore -- where there is a Will there is a way

Marianne's picture

PLEASE read up about policies and notify scripts in NBU manuals.

Notify scripts are covered in Admin Guide II and Policies in Admin Guide I.

Links to all manuals in Handy NBU Links in my signature.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Andy2345's picture

@Wr:     1.  So scripts basically does its work before and after backups?

2 .Policy will just run the backup as defined in it,Is it correct?

Will Restore's picture

Yes to both

Will Restore -- where there is a Will there is a way

SOLUTION
ashish.patil01's picture

What you mentioned is correct Andy script comes in picture pre and post the backups.