Operating System - HP-UX
1846136 Members
4951 Online
110254 Solutions
New Discussion

Re: OmniBack post scripts

 
SOLVED
Go to solution
W.H. (Bill) Luber
Occasional Contributor

OmniBack post scripts

In setting up and running post backup scripts in OmniBack II (3.5) I have noticed that some scripts written and provided by my DBA did not use an exit code of the form "exit 0" but instead only had the word "exit" at the end of the script or where he wanted to exit the script. This appears to cause OmniBack to believe that the script has not yet completed and to wait the timeout value for OmniBack post script execution and then fail the backup even though it completed correctly including the post script. Is this a known probelm in OmniBack or is it just a case of bad script coding on the part of my DBA. I have corrected the scripts, but have not tested the changes yet.
On call 24 by 7 ... Ooops another beep!!
1 REPLY 1
Kofi ARTHIABAH
Honored Contributor
Solution

Re: OmniBack post scripts

Yes, it is advisable to have an exit code, because the exit code is used by Omniback to determine if all the stages of the backup were successful...and when to proceed to the next stage.

Besides, its good programming practice to have exit codes anyway.
nothing wrong with me that a few lines of code cannot fix!