Operating System - HP-UX
1833159 Members
2980 Online
110051 Solutions
New Discussion

Omniback pre-exec and post-exec

 
SOLVED
Go to solution
Darrell Allen
Honored Contributor

Omniback pre-exec and post-exec

I'm trying to run pre and post processing scripts on a remote host before backing up it's filesystems. I specified absolute path names however Omniback aborted the backup because it couldn't find "/opt/omni/lbin//absolute_pathname". Why did Omniback prepend "/opt/omni/lbin" to the absolute path I specified?

Further, using absolute path to run a pre-exec script on the cell manager worked fine.

Thanks in advance.
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Omniback pre-exec and post-exec

The Administrator's Guide clearly states that on the Cell Manager commands can reside in any directory but the full pathname has to be specified. On the remote clients commands can only reside in /opt/omni/lbin (HP-UX 10.X,11.X), in /usr/omni/bin on other UNIX systems, and in %OmniBack_Home%\bin on WINx systems. Even this behavior can be more restricted by the UsePanScripts setting in the /etc/opt/omni/options/global file.
Obviously, you can always make a tiny wrapper script in /opt/omni/lbin to call your real scripts. You have just been bitten by an OmniBack feature.
If it ain't broke, I can fix that.
Darrell Allen
Honored Contributor

Re: Omniback pre-exec and post-exec

Obviously. Thanks for the answer. I thought I ran a successful test last week but apparantly I missed something. And now that I've located our copy of the guide perhaps I may even read it.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)