Veritas NetBackup™ 8.0 Troubleshooting Guide

Last Published:
Product(s): NetBackup (8.0)
  1. Introduction
    1.  
      Recent changes to this guide
    2.  
      Troubleshooting a problem
    3.  
      Problem report for Technical Support
    4.  
      About gathering information for NetBackup-Java applications
  2. Troubleshooting procedures
    1.  
      About troubleshooting procedures
    2. Troubleshooting NetBackup problems
      1.  
        Verifying that all processes are running on UNIX servers
      2.  
        Verifying that all processes are running on Windows servers
    3.  
      Troubleshooting installation problems
    4.  
      Troubleshooting configuration problems
    5.  
      Device configuration problem resolution
    6.  
      Testing the master server and clients
    7.  
      Testing the media server and clients
    8.  
      Resolving network communication problems with UNIX clients
    9.  
      Resolving network communication problems with Windows clients
    10.  
      About troubleshooting networks and host names
    11. Verifying host name and service entries in NetBackup
      1.  
        Example of host name and service entries on UNIX master server and client
      2.  
        Example of host name and service entries on UNIX master server and media server
      3.  
        Example of host name and service entries on UNIX PC clients
      4.  
        Example of host name and service entries on UNIX server that connects to multiple networks
    12.  
      About the bpclntcmd utility
    13.  
      Using the Host Properties window to access configuration settings
    14.  
      Resolving full disk problems
    15. Frozen media troubleshooting considerations
      1.  
        Logs for troubleshooting frozen media
      2.  
        About the conditions that cause media to freeze
    16. Troubleshooting problems with the NetBackup web services
      1.  
        Viewing NetBackup web services logs
    17.  
      Troubleshooting problems with the NetBackup web server certificate
    18. Resolving PBX problems
      1.  
        Checking PBX installation
      2.  
        Checking that PBX is running
      3.  
        Checking that PBX is set correctly
      4.  
        Accessing the PBX logs
      5.  
        Troubleshooting PBX security
      6.  
        Determining if the PBX daemon or service is available
    19. About troubleshooting Auto Image Replication
      1.  
        Troubleshooting Auto Image Replication
      2.  
        About troubleshooting automatic import jobs
    20.  
      Troubleshooting network interface card performance
    21.  
      About SERVER entries in the bp.conf file
    22.  
      About unavailable storage unit problems
    23.  
      Resolving a NetBackup Administration operations failure on Windows
    24.  
      Resolving garbled text displayed in NetBackup Administration Console on a UNIX computer
  3. Using NetBackup utilities
    1.  
      About NetBackup troubleshooting utilities
    2.  
      About the analysis utilities for NetBackup debug logs
    3.  
      About network troubleshooting utilities
    4. About the NetBackup support utility (nbsu)
      1.  
        Output from the NetBackup support utility (nbsu)
      2.  
        Status code information gathered by the NetBackup support utility (nbsu)
      3.  
        Example of a progress display for the NetBackup support utility (nbsu)
    5. About the NetBackup consistency check utility (NBCC)
      1.  
        Output from the NetBackup consistency check utility (NBCC)
      2.  
        Example of an NBCC progress display
    6.  
      About the NetBackup consistency check repair (NBCCR) utility
    7.  
      About the nbcplogs utility
    8. About the robotic test utilities
      1.  
        Robotic tests on UNIX
      2.  
        Robotic tests on Windows
  4. Disaster recovery
    1.  
      About disaster recovery
    2.  
      Recommended backup practices
    3. About disk recovery procedures for UNIX and Linux
      1. About recovering the master server disk for UNIX and Linux
        1.  
          Recovering the master server when root is intact
        2.  
          Recovering the master server when the root partition is lost
      2.  
        About recovering the NetBackup media server disk for UNIX
      3.  
        Recovering the system disk on a UNIX client workstation
    4. About clustered NetBackup server recovery for UNIX and Linux
      1.  
        Replacing a failed node on a UNIX or Linux cluster
      2.  
        Recovering the entire UNIX or Linux cluster
    5. About disk recovery procedures for Windows
      1. About recovering the master server disk for Windows
        1.  
          Recovering the master server with Windows intact
        2.  
          Recovering the master server and Windows
      2.  
        About recovering the NetBackup media server disk for Windows
      3.  
        Recovering a Windows client disk
    6. About clustered NetBackup server recovery for Windows
      1.  
        Replacing a failed node on a Windows VCS cluster
      2.  
        Recovering the shared disk on a Windows VCS cluster
      3.  
        Recovering the entire Windows VCS cluster
    7. About recovering the NetBackup catalog
      1.  
        About NetBackup catalog recovery on Windows computers
      2.  
        About NetBackup catalog recovery from disk devices
      3.  
        About NetBackup catalog recovery and symbolic links
      4. About NetBackup catalog recovery and OpsCenter
        1.  
          Specifying the NetBackup job ID number after a catalog recovery
      5.  
        NetBackup disaster recovery email example
      6. About recovering the entire NetBackup catalog
        1.  
          Recovering the entire NetBackup catalog using the Catalog Recovery Wizard
        2.  
          Recovering the entire NetBackup catalog using bprecover -wizard
      7. About recovering the NetBackup catalog image files
        1.  
          Recovering the NetBackup catalog image files using the Catalog Recovery Wizard
        2.  
          Recovering the NetBackup catalog image files using bprecover -wizard
      8. About recovering the NetBackup relational database
        1.  
          Recovering NetBackup relational database files from a backup
        2.  
          Recovering the NetBackup relational database files from staging
        3.  
          About processing the relational database in staging
      9.  
        Recovering the NetBackup catalog when NetBackup Access Control is configured
      10.  
        Recovering the NetBackup catalog from a nonprimary copy of a catalog backup
      11.  
        Recovering the NetBackup catalog without the disaster recovery file
      12.  
        Recovering a NetBackup user-directed online catalog backup from the command line
      13.  
        Restoring files from a NetBackup online catalog backup
      14.  
        Unfreezing the NetBackup online catalog recovery media

Recovering NetBackup relational database files from a backup

You can recover the NetBackup (NBDB) or Bare Metal Restore (BMRDB) relational database files from a backup. A valid database must exist before you can recover the catalog backup. Therefore, the steps that you follow to recover from a backup depend on the use case, as follows:

The database is not corrupted

If the NBDB database is available and the SQL Anywhere server is running, you do not need to create a database. Do only step 11 and step 12 in the following procedure.

The database is corrupted

Follow all of the steps in the procedure only if the NBDB database has been corrupted or does not exist. You must create a valid, empty database, which is included in the full procedure.

To recover the NetBackup relational database files from a catalog backup

  1. If the NetBackup services are running, stop them as follows:

    UNIX:

    /usr/openv/netbackup/bin/bp.kill_all

    Windows:

    install_path\NetBackup\bin\bpdown

  2. Move the *.db and *.log files from the database file directories to a temporary directory. The following are the default locations for the database files:

    UNIX:

    /usr/openv/db/data

    Windows:

    C:\Program Files\Veritas\NetBackupDB\data

  3. Configure SQL Anywhere so that it does not try to start automatically when the host is started, as follows:

    UNIX:

    /usr/openv/db/bin/nbdb_admin -auto_start NONE

    Windows:

    install_path\NetBackup\bin\nbdb_admin -auto_start NONE

  4. Start the SQL Anywhere server, as follows:

    UNIX:

    /usr/openv/netbackup/bin/nbdbms_start_stop start

    Windows:

    install_path\NetBackup\bin\bpup -e SQLANYs_VERITAS_NB

  5. Create the database. The command that you run depends on your scenario, as follows:

    Normal scenario

    UNIX: /usr/openv/db/bin/create_nbdb -drop

    Windows: install_path\NetBackup\bin\create_nbdb -drop

    The database was relocated or the environment is clustered

    UNIX: /usr/openv/db/bin/create_nbdb -data VXDBMS_NB_DATA -drop -staging VXDBMS_NB_STAGING

    Windows: install_path\NetBackup\bin\create_nbdb -data VXDBMS_NB_DATA -drop -staging VXDBMS_NB_STAGING

    Obtain the values for VXDBMS_NB_DATA and VXDBMS_NB_STAGING from the vxdbms.conf file in the temporary directory that you created in step 2.

    The database was relocated or the environment is clustered, and space constraints force you to create this temporary database in the final location

    UNIX: /usr/openv/db/bin/create_nbdb -drop -data VXDBMS_NB_DATA -index VXDBMS_NB_INDEX -tlog VXDBMS_NB_TLOG -staging VXDBMS_NB_STAGING

    Windows: install_path\NetBackup\bin\create_nbdb -drop -data VXDBMS_NB_DATA -index VXDBMS_NB_INDEX -tlog VXDBMS_NB_TLOG -staging VXDBMS_NB_STAGING

    Obtain the values for the option arguments from the vxdbms.conf file in the temporary directory that you created in step 2.

  6. Start the NetBackup services, as follows:

    UNIX:

    /usr/openv/netbackup/bin/bp.start_all

    Windows:

    install_path\NetBackup\bin\bpup

  7. Load the default device protocols and settings into the NetBackup Enterprise Media Manager (EMM) database by running the following command:

    UNIX:

    /usr/openv/volmgr/bin/tpext -loadEMM

    Windows:

    install_path\Volmgr\bin\tpext -loadEMM

  8. If you used the nbdb_move command to relocate the NetBackup database files, re-create the directories where the files were located when you backed up the catalog. The following are the default locations into which the nbdb_move command moves the database files:

    UNIX:

    /usr/openv/db/data

    Windows:

    install_path\NetBackupDB\data

  9. Start the NetBackup device manager on the NetBackup master server, as follows:

    UNIX:

    /usr/openv/volmgr/bin/ltid -v

    Windows:

    Use Windows Computer Management to start the NetBackup Device Manager service (ltid.exe).

  10. If the catalog backup and the recovery devices are not available, do the following:

    a

    Configure the necessary recovery device in NetBackup.

    For tape storage or BasicDisk storage, see the NetBackup Administrator's Guide, Volume I. For disk storage types, see the guide that describes the option. See the following website for NetBackup documentation:

    b

    Make available to NetBackup the media that contains the catalog backup: Inventory the robot or the disk pool, add the media for standalone drives, configure the storage server and disk pool, or so on.

    For tape storage or BasicDisk storage, see the NetBackup Administrator's Guide, Volume I. For disk storage types, see the guide that describes the option. See the following website for NetBackup documentation:

    c

    Import the catalog backup from the media on which it resides.

    See the NetBackup Administrator's Guide, Volume I:

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

  11. Recover the catalog by running the following command on the master server:

    UNIX:

    /usr/openv/netbackup/bin/admincmd/bprecover -r -nbdb

    Windows:

    install_path\NetBackup\bin\admincmd\bprecover -r -nbdb

  12. Stop and restart NetBackup, as follows:

    UNIX:

    /usr/openv/netbackup/bin/bp.kill_all
    /usr/openv/netbackup/bin/bp.start_all

    Windows:

    install_path\NetBackup\bin\bpdown
    install_path\NetBackup\bin\bpup