Veritas NetBackup™ Commands Reference Guide

Last Published:
Product(s): NetBackup (9.1)
  1. Introduction
    1.  
      About NetBackup commands
    2.  
      Navigating multiple menu levels
    3.  
      NetBackup command conventions
    4.  
      NetBackup Media Manager command notes
    5.  
      IPV6 updates
  2. Appendix A. NetBackup Commands
    1.  
      acsd
    2.  
      add_media_server_on_clients
    3.  
      backupdbtrace
    4.  
      backuptrace
    5.  
      bmrc
    6.  
      bmrconfig
    7.  
      bmrepadm
    8.  
      bmrprep
    9.  
      bmrs
    10.  
      bmrsrtadm
    11.  
      bp
    12.  
      bparchive
    13.  
      bpbackup
    14.  
      bpbackupdb
    15.  
      bpcatarc
    16.  
      bpcatlist
    17.  
      bpcatres
    18.  
      bpcatrm
    19.  
      bpcd
    20.  
      bpchangeprimary
    21.  
      bpclient
    22.  
      bpclimagelist
    23.  
      bpclntcmd
    24.  
      bpclusterutil
    25.  
      bpcompatd
    26.  
      bpconfig
    27.  
      bpdbjobs
    28.  
      bpdbm
    29.  
      bpdgclone
    30.  
      bpdown
    31.  
      bpduplicate
    32.  
      bperror
    33.  
      bpexpdate
    34.  
      bpfis
    35.  
      bpflist
    36.  
      bpgetconfig
    37.  
      bpgetdebuglog
    38.  
      bpimage
    39.  
      bpimagelist
    40.  
      bpimmedia
    41.  
      bpimport
    42.  
      bpinst
    43.  
      bpkeyfile
    44.  
      bpkeyutil
    45.  
      bplabel
    46.  
      bplist
    47.  
      bpmedia
    48.  
      bpmedialist
    49.  
      bpminlicense
    50.  
      bpnbat
    51.  
      bpnbaz
    52.  
      bppficorr
    53.  
      bpplcatdrinfo
    54.  
      bpplclients
    55.  
      bppldelete
    56.  
      bpplinclude
    57.  
      bpplinfo
    58.  
      bppllist
    59.  
      bpplsched
    60.  
      bpplschedrep
    61.  
      bpplschedwin
    62.  
      bppolicynew
    63.  
      bpps
    64.  
      bprd
    65.  
      bprecover
    66.  
      bprestore
    67.  
      bpretlevel
    68.  
      bpschedule
    69.  
      bpschedulerep
    70.  
      bpsetconfig
    71.  
      bpstsinfo
    72.  
      bpstuadd
    73.  
      bpstudel
    74.  
      bpstulist
    75.  
      bpsturep
    76.  
      bptestbpcd
    77.  
      bptestnetconn
    78.  
      bptpcinfo
    79.  
      bpup
    80.  
      bpverify
    81.  
      cat_convert
    82.  
      cat_export
    83.  
      cat_import
    84.  
      configureCerts
    85.  
      configureCertsForPlugins
    86.  
      configureMQ
    87.  
      configurePorts
    88.  
      configureWebServerCerts
    89.  
      create_nbdb
    90.  
      csconfig cldinstance
    91.  
      csconfig cldprovider
    92.  
      csconfig meter
    93.  
      csconfig reinitialize
    94.  
      csconfig throttle
    95.  
      duplicatetrace
    96.  
      importtrace
    97.  
      jbpSA
    98.  
      jnbSA
    99.  
      ltid
    100.  
      manageClientCerts
    101.  
      mklogdir
    102.  
      nbauditreport
    103.  
      nbcallhomeproxyconfig
    104.  
      nbcatsync
    105.  
      NBCC
    106.  
      NBCCR
    107.  
      nbcertcmd
    108.  
      nbcertupdater
    109.  
      nbcldutil
    110.  
      nbcloudrestore
    111.  
      nbcomponentupdate
    112.  
      nbcplogs
    113.  
      nbcredkeyutil
    114.  
      nbdb_admin
    115.  
      nbdb_backup
    116.  
      nbdb_move
    117.  
      nbdb_ping
    118.  
      nbdb_restore
    119.  
      nbdb_unload
    120.  
      nbdb2adutl
    121.  
      nbdbms_start_server
    122.  
      nbdbms_start_stop
    123.  
      nbdc
    124.  
      nbdecommission
    125.  
      nbdelete
    126.  
      nbdeployutil
    127.  
      nbdevconfig
    128.  
      nbdevquery
    129.  
      nbdiscover
    130.  
      nbdna
    131.  
      nbemm
    132.  
      nbemmcmd
    133.  
      nbfindfile
    134.  
      nbfirescan
    135.  
      nbftadm
    136.  
      nbftconfig
    137.  
      nbgetconfig
    138.  
      nbhba
    139.  
      nbholdutil
    140.  
      nbhostidentity
    141.  
      nbhostmgmt
    142.  
      nbhypervtool
    143.  
      nbidpcmd
    144.  
      nbimageshare
    145.  
      nbinstallcmd
    146.  
      nbjm
    147.  
      nbkmiputil
    148.  
      nbkmscmd
    149.  
      nbkmsutil
    150.  
      nboraadm
    151.  
      nborair
    152.  
      nbpem
    153.  
      nbpemreq
    154.  
      nbmlb
    155.  
      nbperfchk
    156.  
      nbplupgrade
    157.  
      nbrb
    158.  
      nbrbutil
    159.  
      nbregopsc
    160.  
      nbreplicate
    161.  
      nbrepo
    162.  
      nbrestorevm
    163.  
      nbseccmd
    164.  
      nbserviceusercmd
    165.  
      nbsetconfig
    166.  
      nbsmartdiag
    167.  
      nbsnapimport
    168.  
      nbsnapreplicate
    169.  
      nbsqladm
    170.  
      nbstl
    171.  
      nbstlutil
    172.  
      nbstop
    173.  
      nbsu
    174.  
      nbsvrgrp
    175.  
      netbackup_deployment_insights
    176.  
      resilient_clients
    177.  
      restoretrace
    178.  
      stopltid
    179.  
      tldd
    180.  
      tldcd
    181.  
      tpautoconf
    182.  
      tpclean
    183.  
      tpconfig
    184.  
      tpext
    185.  
      tpreq
    186.  
      tpunmount
    187.  
      verifytrace
    188.  
      vltadm
    189.  
      vltcontainers
    190.  
      vlteject
    191.  
      vltinject
    192.  
      vltoffsitemedia
    193.  
      vltopmenu
    194.  
      vltrun
    195.  
      vmadd
    196.  
      vmchange
    197.  
      vmcheckxxx
    198.  
      vmd
    199.  
      vmdelete
    200.  
      vmoprcmd
    201.  
      vmphyinv
    202.  
      vmpool
    203.  
      vmquery
    204.  
      vmrule
    205.  
      vmupdate
    206.  
      vnetd
    207.  
      vssat
    208.  
      vwcp_manage
    209.  
      vxlogcfg
    210.  
      vxlogmgr
    211.  
      vxlogview
    212.  
      W2KOption
  3.  
    Index

Name

nbdb_admin — start or stop individual databases and change default password

SYNOPSIS

nbdb_admin -dba new_password [-dbn NBDB | NBAZDB] [-backup directory]

nbdb_admin -start | stop [database_name]

nbdb_admin [-vxdbms_nb_data directory] [-vxdbms_nb_staging directory] [-vxdbms_nbdb_backup_owner y|n] [-vxdbms_nb_server servername | EMMSERVER] [-auto_start NONE | NBDB | BMRDB | NBAZDB]

nbdb_admin -adjust_server_settings [database_name]

nbdb_admin -enable_request_logging [-persistent] [-duration minutes] [-logfile filename]

nbdb_admin -disable_request_logging

nbdb_admin -analyze_request_log -logfile filename

nbdb_admin -list

nbdb_admin -reorganize [database_name]

nbdb_admin -validate [database_name] [-full]

 

On UNIX systems, the directory path to this command is /usr/openv/db/bin/

On Windows systems, the directory path to this command is install_path\NetBackup\bin\

DESCRIPTION

The nbdb_admin command can be used to start or stop the NetBackup database (NBDB), the NetBackup Authorization database (NBAZDB), or the Bare Metal Restore database (BMRDB).

The nbdb_admin command line utility can also be used to enable the customer to change the DBA and application passwords. The DBA and application passwords are encrypted and stored in the vxdbms.conf file. The permissions on the file enable the root user on UNIX or a Windows administrator to read or write it.

During installation, a randomly generated password is created for the NBDB, NBAZDB, and BMRDB databases for all DBA and application accounts. The same password is used for the NBDB and the BMRDB DBA and application accounts such as EMM_MAIN. A different randomly generated password is created for the NBAZDB database.

This command can enable and disable a request logging tool that is used to troubleshoot NetBackup database performance issues at the highest SyBase database logging level. Use request logging for a problem that has an active support case. An analyze_request_log option reads the request log that the NBDB generates and performs some basic log analysis. Because of the excessive resource usage and general overhead, we do not recommend that you use this tool in a production environment.

OPTIONS

-adjust_server_settings directory

Adjusts the settings of the given database directory through the Sybase utility. If no database is specified, the default is to adjust all databases.

-analyze_request_log

Reads the request log generated by the NetBackup database and does some basic analysis. This procedure can cause excessive resource utilization and is not recommended for use on a production environment. Request logging for NBDB may be useful only if the customer is experiencing NBDB performance issues and has an active support case.

-auto_start NONE | NBDB | BMRDB | NBAZDB

Sets which databases are automatically started when the database server is started. You can specify the NetBackup database (NBDB), the BMR database (BMRDB), or the NetBackup Authorization database (NBAZDB). The database daemon must be stopped and restarted to take effect. Or you can choose not to start any of the databases by using NONE.

-dba new_password [-dbn NBDB | NBAZDB] [-backup directory]

Changes the existing password for the NBDB and the BMRDB databases for all DBA and application accounts if -dbn is not specified or if -dbn NBDB is specified. It changes the existing password for the NBAZDB database if the -dbn NBAZDB option is specified. The NBAZDB database password is different than the password for the NBDB and the BMRDB databases and application accounts. The password must be an ASCII string. Non-ASCII characters are not allowed in the password string

If the -backup option is used, the new password is saved in the specified directory with the file name nbdbinfo.dat. Otherwise, it is saved under the default location with the same file name.

Note:

If the password is set to the old default password (nbusql), it is reset to a randomly generated password at the next NetBackup upgrade.

This action is also true for the NBAZDB password which is reset to a different randomly generated password. If the NBAZDB password is the same as the NBDB password, the NBAZDB password is reset to a randomly generated password at the next NetBackup upgrade.

This action will require a restart of the NetBackup Web Management Console service.

-disable_request_logging

Deactivates request logging and removes any request log settings from the server.conf file. Any change in server.conf requires that you restart the NetBackup relational database service.

-duration minutes

Disable request logging after the specified time in minutes. Specify 0 to manually disable later.

-enable_request_logging

Activates request level logging for NBDB at the maximum level for troubleshooting. The overhead of request logging may affect performance and is not recommended for regular use. Request logging for NBDB may be useful only if the customer is experiencing NBDB performance issues and has an active support case.

-list

Lists all database files.

-logfile filename

Specifies the absolute path to the log file for NBDB to use. If this option is not present, the absolute path is generated at the default location.

-persistent

Saves the request logging settings to the server.conf file so that request logging continues after the NetBackup relational database service (NBDB) is restarted.

-reorganize database_name

Reorganizes the given database through the Sybase utility. If no database is specified, the default is to reorganize all databases.

-start | -stop database_name

Starts or stops the database that is identified in the database_name field. You can specify the NBDB database or the BMRDB database. The database_name field is optional. The NBDB database is the default for this command.

Note:

Before you take the database offline with the -stop option, stop all services that are running except SQL Anywhere.

-validate database_name [-full]

Validates the indexes and keys on all of the tables in the specified database. If no database name is specified, the option validates all the databases. It scans each table and checks that each row exists in the appropriate indexes. The number of rows in the table must match the number of entries in the index.

The -full option performs a full validation of the database or databases. It ensures that every row that is referenced in each index exists in the corresponding table. For foreign key indexes, it also ensures that the corresponding row exists in the primary table.

The validation checks do not require that all NetBackup activity be suspended. However, the checks may report any transient errors that are a result of transactions that are in progress.

-vxdbms_nb_data directory

This command updates the VXDBMS_NB_DATA parameter that is stored in the bp.conf file on UNIX systems and in the registry on Windows systems. This parameter contains the main location of the NBDB and the BMRDB databases.

-vxdbms_nbdb_backup_owner y|n

This command updates the VXDMS_NBDB_BACKUP_OWNER parameter in the bp.conf file on UNIX systems and in the registry on Windows systems. This command specifies if the master server owns the backup of the databases that are included in the catalog backup. The default for this parameter is yes.

-vxdbms_nb_server servername | EMMSERVER

Changes the database server name to the given servername or EMMSERVER from bp.conf file.

-vxdbms_nb_staging directory

Changes the staging directory from the default to the specified directory. This option saves the information in the vxdbms.conf file.

SEE ALSO

See nbdb_backup.

See nbdb_move.

See nbdb_ping.

See nbdb_restore.

See nbdb_unload.