Customizing ON-Bar and storage-manager commands

You can edit the script that is installed with ON-Bar to customize backup and restore commands, and storage manager commands.

On UNIX operating systems, the onbar shell script is in the $INFORMIXDIR/bin directory. On Windows operating systems, the onbar.bat batch script is in the %INFORMIXDIR%\bin directory.

Edit the script and backup a copy of the original file in case you need to revert to it.

Important: Edit the script with caution and test your changes. Do not change the cleanup code at the bottom of the script. Doing so might result in unexpected behavior, for example, leftover temporary files during backup verification.
The script contains the following sections:
  • Add startup processing here

    Use this section to initialize the storage manager, if necessary, and set environment variables.

  • End startup processing here

    This section starts the onbar_d driver and checks the return code. Use this section for onbar_d and storage-manager commands.

  • Add cleanup processing here

    This section removes the archecker temporary files.

  • End cleanup processing here

    Use this section to return onbar_d error codes.