Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

I want to know when the bpbkar process has ended

Created: 25 Feb 2013 • Updated: 10 Sep 2014 | 7 comments
This issue has been solved. See solution.

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
 

Operating Systems:
Discussion Filed Under:

Comments 7 CommentsJump to latest comment

Mark_Solutions's picture

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

Authorised Symantec Consultant

Don't forget to "Mark as Solution" if someones advice has solved your issue - and please bring back the Thumbs Up!!.

Netbackup_fan's picture

Correct. I'am doing it streams.

I have attached the script.

Mark_Solutions's picture

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

Authorised Symantec Consultant

Don't forget to "Mark as Solution" if someones advice has solved your issue - and please bring back the Thumbs Up!!.

Netbackup_fan's picture

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.

Will Restore's picture

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. 

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

SOLUTION
Mark_Solutions's picture

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

Authorised Symantec Consultant

Don't forget to "Mark as Solution" if someones advice has solved your issue - and please bring back the Thumbs Up!!.