Forum Discussion

demo4119's avatar
demo4119
Level 6
13 years ago

multiple streaming for bpstart and bpend notify script

is there any example to configure the bpstart and bpend to run multiple stream job .

as i having problem when the child jobs also trigger the bpstart and bpend.

please advise.

  • Implementing the NetBackup bpstart_notify and the bpend_notify scripts when using Multistreaming in the backup policy

    http://www.symantec.com/business/support/index?page=content&id=TECH69986

     

    bpstart_notify
     

    - When a backup stream starts running, the bpstart_notify could create touch files for these backup streams that are being generated when the client backup is running. The STREAM_NUMBER, STREAM_COUNT, and STREAM_PID can be used as environment variables for these touch file names.
    - The bpstart_notify script should check if the first backup stream that was started in the backup job has completed running successfully before it starts writing to the remaining backup streams by checking these touch files previously created.
     

    bpend_notify
     
    - When a backup stream completes, bpend_notify should check if there are other touch files remaining for all backup streams that have not completed yet.
    - When the last backup stream completes and no touch files are left, then it should be able to continue executing the bpend_notify script.
  • Implementing the NetBackup bpstart_notify and the bpend_notify scripts when using Multistreaming in the backup policy

    http://www.symantec.com/business/support/index?page=content&id=TECH69986

     

    bpstart_notify
     

    - When a backup stream starts running, the bpstart_notify could create touch files for these backup streams that are being generated when the client backup is running. The STREAM_NUMBER, STREAM_COUNT, and STREAM_PID can be used as environment variables for these touch file names.
    - The bpstart_notify script should check if the first backup stream that was started in the backup job has completed running successfully before it starts writing to the remaining backup streams by checking these touch files previously created.
     

    bpend_notify
     
    - When a backup stream completes, bpend_notify should check if there are other touch files remaining for all backup streams that have not completed yet.
    - When the last backup stream completes and no touch files are left, then it should be able to continue executing the bpend_notify script.
  • Yo use parent_start_notify and parent_end_notify on the Master Server - so any command will need to be piped remotely to your client

    Admin Guide 1 has more details on this - but not much

    It is similar to the standard ones used on the clients - goes in the bin directory and you append .policy and .schedule to it to control which jobs it runs for

     

    Oh - see wrobbins was quicker than me this time - valid answer from him as always