02-25-2013 07:00 AM
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
Solved! Go to Solution.
03-05-2013 06:38 AM
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.
02-25-2013 07:14 AM
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
02-25-2013 09:18 AM
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
02-25-2013 09:35 AM
this old thread describes streams and scripting
03-05-2013 04:01 AM
Correct. I'am doing it streams.
I have attached the script.
03-05-2013 04:05 AM
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.
03-05-2013 06:31 AM
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
03-05-2013 06:38 AM
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.