Forum Discussion

NBU2010's avatar
NBU2010
Level 6
11 years ago

Starting 1 Policy After Another

Dear Forum,

Setup : MASTER/MEDIA Sol. 10 / NBU 7.5.0.6

Client : Solaris 10. / NBU 7.5.0.6

Requirement : Need to start 2nd Policy after completion of 1st policy.

I m using bpstart_notify and  bpend_notify for 1st policy. Thinking of putting bpbackup in bpend_notify of 1st policy.

But when i m testing the bpbackup command on client it is giving me error 237.

Command : /usr/openv/netbackup/bin/bpbackup -p 2nd_Policy -s User Backup -S MASTER SERVER /oracle/123/oraarch.

Need to know what exactly needs to be configured in this 2nd_policy, so that once the bpend of 1st policy calls it then 2nd_policy should be triggered.

Currently the policy is having in Attributes...policy type : standard, policy storage is defined, policy volume is defined.

Schedules is having User Backup as type,retention period defined and Media Multiplexing defined. Do i have to put nything in Start Window mentioning the start time.

Client name is mentioned and Backup Selection is also defined what needs to be backed up.

Actually what i need to achive from this method is to backup first /oracle db (which i m putting in hot backup mode from bpstart and end backup from bpend_notify...later when the control files are generated i will trigger 2nd policy and get it) and once that is completed i want archieve logs to be backed up from the 2nd_policy.

Pls. suggest / advice the right command set / different ways for this requirement.
 

 Thanks in Advance

  • -f options needs to be followed by the name of the file that contains the list of items that need to be backed up. 

    If you need to backup /oracle/123/oraarch, you need to drop -f.

    You have not responded to the 1st part of my post?