cancel
Showing results for 
Search instead for 
Did you mean: 

bpimport return code if job is successful

GTS_Teradata
Level 2
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.


 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions

Will_Restore
Level 6

Not sure about the return code; guessing 0 is successful completion

Logs for bpimport are included in  /usr/openv/netbackup/logs/admin/*

View solution in original post

revarooo
Level 6
Employee

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}'

 

 

View solution in original post

3 REPLIES 3

Will_Restore
Level 6

Not sure about the return code; guessing 0 is successful completion

Logs for bpimport are included in  /usr/openv/netbackup/logs/admin/*

revarooo
Level 6
Employee

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}'

 

 

GTS_Teradata
Level 2

Ok, Thanks for the information revaroo.