02-17-2015 06:21 AM
We have a job that needs to check if the bpimport is completed before it continues. Is there a return code or status that we can use in a condition to check whether the import process is successfully completed and the images are available. Also let us know the directory where the bpimport logs are present.
Solved! Go to Solution.
02-17-2015 06:42 AM
Not sure about the return code; guessing 0 is successful completion
Logs for bpimport are included in /usr/openv/netbackup/logs/admin/*
02-17-2015 07:02 AM
bpimport log for the command is found in the netbackup/logs/admin/ directory
Here's a snippet from mine which failed- should be a status 0 if successful
14:39:18.940 [29647] <2> bpimport: EXIT status = 190
Or if you have a unix system, utilize the status code from the activity monitor:
bpdbjobs | grep " Import " | head -1 | awk '{print $4}'
02-17-2015 06:42 AM
Not sure about the return code; guessing 0 is successful completion
Logs for bpimport are included in /usr/openv/netbackup/logs/admin/*
02-17-2015 07:02 AM
bpimport log for the command is found in the netbackup/logs/admin/ directory
Here's a snippet from mine which failed- should be a status 0 if successful
14:39:18.940 [29647] <2> bpimport: EXIT status = 190
Or if you have a unix system, utilize the status code from the activity monitor:
bpdbjobs | grep " Import " | head -1 | awk '{print $4}'
02-17-2015 07:11 AM
Ok, Thanks for the information revaroo.