cancel
Showing results for 
Search instead for 
Did you mean: 

I want to know when the bpbkar process has ended

Netbackup_fan
Level 5

Hi experts.

I want to know how to verify if the backup has ended in order for me to verify in the script, if the log has different errors, and also to start the database.

Also the script opens the database after the bpbkar has ended and what is happening is that bpbkar process disappear for a moment and then appears back to continue to backup the database but the database has already been opened after not seeing the bpbkar process for a while.

 

while ps -ef|grep -w "[b]pbkar"
do
echo "Backup in progress...Waiting!" >> $LOGFILE
sleep 30
done
 

1 ACCEPTED SOLUTION

Accepted Solutions

Will_Restore
Level 6

Regarding bpstart_notify, you have to edit sample script or create new one.  From the Admin Guide:

 

To use this script, copy the following file from the server:

  /usr/openv/netbackup/bin/goodies/bpstart_notify

Then place the script in the following location on the UNIX client:

  /usr/openv/netbackup/bin/

 

And I'm not sure what you're asking about bpcd process. 

View solution in original post

7 REPLIES 7

Mark_Solutions
Level 6
Partner Accredited Certified

If bpkar dissapears it sounds like you are doing multiple streams so you get a break between streams.

Let us know exactly how the job is set up for us to advise further with this one

bppllist policyname -U

would be handy

Mark_Solutions
Level 6
Partner Accredited Certified

OK - so if you use streams monitoring the bpkar wont work for you.

You need to know how many streams you use and detect it to moniotr when the last stream finishes

The bpend_notify get passed the stream number, count and PID

So you need something that tracks once all streams have completed from this

%stream_number%

%stream_count%

%stream_pid%

Once all three have regsistered as completing you know it has finished

Hope this guides you in the right direction

Netbackup_fan
Level 5

Correct. I'am doing it streams.

 

I have attached the script.

Netbackup_fan
Level 5

There is no bpstart or bpend nor parent_end_notify parent_start_notify.

 

Also the bpcd is always running inside the client servers which has been upgraded to 7.5.0.4.

 

Mark_Solutions
Level 6
Partner Accredited Certified

If the scripts are not in the netbackup\bin directory they should be in the netbackup\bin\goodies directory ready for you to copy

If not you can just create a file with the correct name and it will run what ever is in it

Will_Restore
Level 6

Regarding bpstart_notify, you have to edit sample script or create new one.  From the Admin Guide:

 

To use this script, copy the following file from the server:

  /usr/openv/netbackup/bin/goodies/bpstart_notify

Then place the script in the following location on the UNIX client:

  /usr/openv/netbackup/bin/

 

And I'm not sure what you're asking about bpcd process.