Veritas NetBackup™ for Informix Administrator's Guide

Last Published:
Product(s): NetBackup (8.1.2)
  1. Introduction to NetBackup for Informix
    1.  
      Features of NetBackup for Informix
    2.  
      About NetBackup for Informix
    3.  
      About NetBackup for Informix terms
    4.  
      Example NetBackup for Informix configuration
    5.  
      About the Informix ON-bar utility and library
    6.  
      How NetBackup for Informix works
  2. Installing NetBackup for Informix
    1.  
      Planning the installation of NetBackup for Informix
    2.  
      Verifying the operating system and platform compatibility
    3.  
      NetBackup server and client requirements
    4.  
      Informix server software requirements
    5.  
      About the license for NetBackup for Informix
    6.  
      Specifying the Informix home path
    7.  
      Adding new Informix instances
  3. Configuring NetBackup for Informix
    1.  
      About configuring NetBackup for Informix
    2. About configuring a backup policy for Informix
      1.  
        Adding a new NetBackup for Informix policy
      2.  
        About policy attributes
      3.  
        Configuring an application backup schedule
      4.  
        Configuring automatic backup schedules
      5. About schedule properties
        1.  
          NetBackup for Informix backup types
        2.  
          Example application backup schedule
        3.  
          Example automatic backup schedule
      6.  
        Adding clients to a policy
      7.  
        Adding NetBackup for Informix scripts to the backup selections list
      8.  
        Rules for NetBackup for Informix scripts
      9.  
        Configuring a Standard policy for backup of the $INFORMIXDIR/etc files
    3. About NetBackup for Informix scripts
      1.  
        Modifying NetBackup for Informix scripts
      2.  
        About NetBackup for Informix environment variables
    4.  
      Configuring an additional bp.conf file
    5.  
      About permissions for NetBackup for Informix log files
    6.  
      Reviewing the auto-discovered mappings in Host Management
    7.  
      Configuring the Maximum jobs per client
    8.  
      Performing a manual backup
  4. Performing backups and restores of Informix
    1.  
      About using NetBackup for Informix
    2.  
      About Informix ON-Bar backup types
    3.  
      Example Informix backup strategy
    4.  
      Automatic backup policy for Informix
    5.  
      Manual backup policy for Informix
    6.  
      Using the onbar command to perform a user-directed backup
    7.  
      About browsing Informix backups
    8.  
      Restoring files to the original client
    9.  
      Redirecting an Informix restore to a different client
    10.  
      Example restore of an Informix database
  5. Troubleshooting
    1.  
      Verifying the NetBackup for Informix configuration
    2.  
      Verifying NetBackup for Informix log files
    3.  
      Enabling the debug logs manually
    4. About the NetBackup for Informix log files
      1.  
        About the bphdb directory on the database client
      2.  
        About the infxbsa directory on the database client
    5.  
      About NetBackup server reports
    6.  
      Setting the debug level
    7.  
      Minimizing timeout failures on large database restores
    8.  
      Minimizing the loading and unloading of tapes for database backups
    9.  
      Deleting expired backups from the Informix backup database
    10.  
      Delays in completion of backup jobs
  6. Appendix A. Register authorized locations
    1.  
      Registering authorized locations used by a NetBackup database script-based policy

Registering authorized locations used by a NetBackup database script-based policy

During a backup, NetBackup checks for scripts in the default script location and any authorized locations. The default, authorized script location for UNIX is usr/openv/netbackup/ext/db_ext and for Windows is install_path\netbackup\dbext. If the script is not in the default script location or an authorized location, the policy job fails. You can move any script into the default script location or any additional authorized location and NetBackup recognizes the scripts. You need to update the policy with the script location if it has changed. An authorized location can be a directory and NetBackup recognizes any script within that directory. An authorized location can also be a full path to a script if an entire directory does need to be authorized.

If the default script location does not work for your environment, use the following procedure to enter one or more authorized locations for your scripts. Use nbsetconfig to enter an authorized location where the scripts reside. You can also use bpsetconfig, however this command is only available on the master or the media server.

Note:

One recommendation is that scripts should not be world-writable. NetBackup does not allow scripts to run from network or remote locations. All scripts must be stored and run locally. Any script that is created and saved in the NetBackup db_ext (UNIX) or dbext (Windows) location needs to be protected during a NetBackup uninstall.

For more information about registering authorized locations and scripts, review the knowledge base article:

http://www.veritas.com/docs/000126002

To add an authorized location

  1. Open a command prompt on the client.
  2. Use nbsetconfig to enter values for an authorized location. The client privileged user must run these commands.

    The following examples are for paths you may configure for the Oracle agent. Use the path that is appropriate for your agent.

    • On UNIX:

      [root@client26 bin]# ./nbsetconfig
      nbsetconfig>DB_SCRIPT_PATH = /Oracle/scripts
      nbsetconfig>DB_SCRIPT_PATH = /db/Oracle/scripts/full_backup.sh
      nbsetconfig>
      <ctrl-D>
    • On Windows:

      C:\Program Files\Veritas\NetBackup\bin>nbsetconfig
      nbsetconfig> DB_SCRIPT_PATH=c:\db_scripts
      nbsetconfig> DB_SCRIPT_PATH=e:\oracle\fullbackup\full_rman.sh
      nbsetconfig>
      <ctrl-Z>
      

    Note:

    Review the NetBackup Command Reference Guide for options, such as reading from a text file and remotely setting clients from a NetBackup server using bpsetconfig. If you have a text file with the script location or authorized locations listed, nbsetconfig or bpsetconfig can read from that text file. An entry of DB_SCRIPT_PATH=none does not allow any script to execute on a client. The none entry is useful if an administrator wants to completely lock down a server from executing scripts.

  3. (Conditional) Perform these steps on any clustered database or agent node that can perform the backup.
  4. (Conditional) Update any policy if the script location was changed to the default or authorized location.