Error: Informix/onbar restore on UNIX/Linux fails with "*E* backup not found for:"
If the screen output of onbar -r shows
BSA_qr: Interrupted system call
*E* backup not found for: 27154:1327429857
the reason might be the setting of the environment variables
To proof this, look into $INFORMIXDIR/tmp/bar_act.log.
If you find any "suspicious" time differences between the "successfully forked" Message
for a PID (here 8952) and the XBSA error Message for that PID, the timeout environment
variable setting is the reason. Example from bar_act.log:
2012-02-06 09:43:23 8952 8946 Process 8952 8946 successfully forked.
2012-02-06 09:43:23 8952 8946 Successfully connected to Storage Manager.
2012-02-06 09:47:23 8952 8946 XBSA Error: (BSAGetObject) This object has not been backed up.
The time difference is 240 seconds (09:47:23 minus 09:43:23 = 4 minutes), which is the Default
setting for all Informix timeout variables.
Looking at the setting of the environment variables
env | grep BAR
The recommendation for the setting of the variables is 1200 (= 20 minutes).
Export the variable settings to the environment of the onbar call before you call it.
Example for Korn-Shell and BASH: