Important Update: Cohesity Products Documentation


All Cohesity product documentation are now managed via the Cohesity Docs Portal: https://docs.cohesity.com/HomePage/Content/home.htm. Some documentation available here may not reflect the latest information or may no longer be accessible.

NetBackup™ Commands Reference Guide

Last Published:
Product(s): NetBackup (11.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.  
      backupdbtrace
    3.  
      backuptrace
    4.  
      bmrc
    5.  
      bmrconfig
    6.  
      bmrepadm
    7.  
      bmrprep
    8.  
      bmrs
    9.  
      bmrsrtadm
    10.  
      bp
    11.  
      bparchive
    12.  
      bpbackup
    13.  
      bpbackupdb
    14.  
      bpcatarc
    15.  
      bpcatlist
    16.  
      bpcatres
    17.  
      bpcatrm
    18.  
      bpcd
    19.  
      bpchangeprimary
    20.  
      bpcleanrestore
    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.  
      bpup
    79.  
      bpverify
    80.  
      cat_convert
    81.  
      cat_export
    82.  
      cat_import
    83.  
      configureCerts
    84.  
      configureMQ
    85.  
      configureWebServerCerts
    86.  
      create_nbdb
    87.  
      csconfig cldinstance
    88.  
      csconfig cldprovider
    89.  
      csconfig meter
    90.  
      csconfig reinitialize
    91.  
      csconfig throttle
    92.  
      duplicatetrace
    93.  
      importtrace
    94.  
      jbpSA
    95.  
      jnbSA
    96.  
      ltid
    97.  
      mklogdir
    98.  
      msdpcldutil
    99.  
      msdpimgutil
    100.  
      nbauditreport
    101.  
      nbcallhomeproxyconfig
    102.  
      nbcatsync
    103.  
      NBCC
    104.  
      NBCCR
    105.  
      nbcertcmd
    106.  
      nbcertupdater
    107.  
      nbcldutil
    108.  
      nbcmdrun
    109.  
      nbcomponentupdate
    110.  
      nbcplogs
    111.  
      nbcredkeyutil
    112.  
      nbdb_admin
    113.  
      nbdb_backup
    114.  
      nbdb_move
    115.  
      nbdb_ping
    116.  
      nbdb_restore
    117.  
      nbdb_unload
    118.  
      nbdb2adutl
    119.  
      nbdbms_start_server
    120.  
      nbdbms_start_stop
    121.  
      nbdc
    122.  
      nbdecommission
    123.  
      nbdelete
    124.  
      nbdeployutil
    125.  
      nbdevconfig
    126.  
      nbdevquery
    127.  
      nbdiscover
    128.  
      nbdna
    129.  
      nbemm
    130.  
      nbemmcmd
    131.  
      nbepicfile
    132.  
      nbfindfile
    133.  
      nbfirescan
    134.  
      nbfp
    135.  
      nbftadm
    136.  
      nbftconfig
    137.  
      nbgetconfig
    138.  
      nbhba
    139.  
      nbholdutil
    140.  
      nbhostidentity
    141.  
      nbhostmgmt
    142.  
      nbhsmcmd
    143.  
      nbhypervtool
    144.  
      nbidpcmd
    145.  
      nbimageshare
    146.  
      nbinstallcmd
    147.  
      nbjm
    148.  
      nbkmiputil
    149.  
      nbkmscmd
    150.  
      nbkmsutil
    151.  
      nblogparser
    152.  
      nbmariadb
    153.  
      nbmysql
    154.  
      nbmlb
    155.  
      nborair
    156.  
      nboracmd
    157.  
      nbpem
    158.  
      nbpemreq
    159.  
      nbmariadb
    160.  
      nbmlb
    161.  
      nbperfchk
    162.  
      nbpgsql
    163.  
      nbplupgrade
    164.  
      nbrb
    165.  
      nbrbutil
    166.  
      nbreplicate
    167.  
      nbrepo
    168.  
      nbrestorevm
    169.  
      nbseccmd
    170.  
      nbserviceusercmd
    171.  
      nbsetconfig
    172.  
      nbshvault
    173.  
      nbsmartdiag
    174.  
      nbsnapimport
    175.  
      nbsnapreplicate
    176.  
      nbsqlcmd
    177.  
      nbsqlite
    178.  
      nbstl
    179.  
      nbstlutil
    180.  
      nbstop
    181.  
      nbsu
    182.  
      nbsvrgrp
    183.  
      netbackup_deployment_insights
    184.  
      resilient_clients
    185.  
      restoretrace
    186.  
      stopltid
    187.  
      tiermover
    188.  
      tldd
    189.  
      tldcd
    190.  
      tpautoconf
    191.  
      tpclean
    192.  
      tpconfig
    193.  
      tpext
    194.  
      tpreq
    195.  
      tpunmount
    196.  
      verifytrace
    197.  
      vltadm
    198.  
      vltcontainers
    199.  
      vlteject
    200.  
      vltinject
    201.  
      vltoffsitemedia
    202.  
      vltopmenu
    203.  
      vltrun
    204.  
      vmadd
    205.  
      vmchange
    206.  
      vmcheckxxx
    207.  
      vmd
    208.  
      vmdelete
    209.  
      vmoprcmd
    210.  
      vmphyinv
    211.  
      vmpool
    212.  
      vmquery
    213.  
      vmrule
    214.  
      vmupdate
    215.  
      vnetd
    216.  
      vssat
    217.  
      vwcp_manage
    218.  
      vxlogcfg
    219.  
      vxlogmgr
    220.  
      vxlogview
    221.  
      W2KOption

Name

configureWebServerCerts — provides a way to enable the NetBackup domain to support NetBackup or external certificate authorities. Lets the user configure certificates for the NetBackup web server.

SYNOPSIS

configureWebServerCerts -addNBCert

configureWebServerCerts -removeNBCert [-force]

configureWebServerCerts -addExternalCert [-nbHost | -webUI | -all] {[-certPath path_to_certificate_file] [-privateKeyPath path_to_certificate_key_file] [-trustStorePath path_to_CA_certificate_file] [-passphrasePath path_to_passphrase_file]} [-crlCheckLevel DISABLE | LEAF | CHAIN] [-crlPath directory_path_to_CRLs] [-force]

configureWebServerCerts -addExternalCert [-nbHost | -webUI] [-copyNbHost | -copyWebUI]

configureWebServerCerts -enableTLSv1_3

configureWebServerCerts -disableTLSv1_3

configureWebServerCerts -getTLSVersion

configureWebServerCerts -removeExternalCert [-nbHost | -webUI | -all] [-force]

configureWebServerCerts -validateExternalCerts {[-certPath path_to_certificate_file] [-privateKeyPath path_to_certificate_key_file] [-trustStorePathpath_to_CA_certificate_file] [-passphrasePathpath_to_passphrase_file] [-crlCheckLevel DISABLE | LEAF | CHAIN] [-crlPath directory_path_to_CRLs] [-fmt DETAILS | FAILURES_ONLY]}

 

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

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

DESCRIPTION

The configureWebServerCerts command provides a way to configure external or NetBackup certificates for the NetBackup web server. A NetBackup web server instance uses the Java Keystore as the repository for security certificates.

You must have root or administrator rights on the master server to run this command.

If you are running this command for the first time, you need to restart the NetBackup Web Management Console service (nbwmc) after you run the command.

If the NetBackup Messaging Broker (nbmqbroker) service is enabled, then you must restart the service after you successfully run the configureWebServerCerts command.

The -addExternalCert and -removeExternalCert options are audited by default. Use the -force option to disable auditing.

NetBackup does not support Windows certificate store as a source for the NetBackup web server certificates.

This command does not apply to the NetBackup appliance.

OPTIONS

-addExternalCert

Configures an external certificate for the web server.

-addNBCert

Configures the NetBackup certificate authority signed certificate for the web server.

-all

Configures an external certificate for communication between NetBackup hosts as well as with the NetBackup web user interface.

-certPath

Specifies the path to the certificate file. This command does not support the use of Windows certificate store paths.

A certificate file must have a certificate chain with certificates in the correct order. The chain starts with the server certificate, also known as the leaf certificate, followed by zero or more intermediate certificates. The chain must contain all intermediate certificates up to the Root CA certificate but should not contain the Root CA certificate itself. The chain is created such that each certificate in the chain signs the previous certificate in the chain.

The certificate file should be in one of the following formats:

  • PKCS #7 or P7B file that is either DER or PEM encoded that has certificates in the specified order.

  • A file with the PEM certificates that are concatenated together in the specified order.

-copyNbHost

Specifies that web UI communication uses the same certificate that is used for host communication. This operation is not audited.

-copyWebUI

Specifies that host communication uses the same certificate that is used for web UI communication. This operation is not audited.

-crlCheckLevel

Specifies the revocation check level for external certificates of the host. You can specify the following values:

  • DISABLE: Revocation check is disabled. Revocation status of the certificate is not validated against the CRL during host communication.

  • LEAF: The revocation status of the leaf certificate is validated against the certificate revocation list (CRL). LEAF is the default value for this option.

  • CHAIN: The revocation status of all certificates in the certificate chain are validated against the CRL.

-crlPath

Specifies the path to the directory where the certificate revocation lists (CRL) of the external CA are located. If you use the force option, the operation is not audited.

-disableTLSv1_3

Disables TLSv1.3 protocol for the NetBackup web server. You must restart the web management console (nbwmc) service for the changes to be reflected.

-enableTLSv1_3

Enables TLSv1.3 protocol for the NetBackup web server. You must restart the web management console (nbwmc) service for the changes to be reflected.

-fmt DETAILS | FAILURES_ONLY

Provides details of the validation checks that are run for the external certificate-specific configuration options. The DETAILS option provides a report of all successful and all failed validation checks. The FAILURES_ONLY option provides a report of only the failed checks.

-force

Use the -force option to forcefully remove NetBackup certificate or to add or remove external certificates forcefully without an audit. In the remove operation, the NetBackup Web Management Console service cannot start if there is no certificate configured for the web server.

-getTLSVersion

Retrieves information of the current TLS protocol version that is enabled on the NetBackup web server.

-nbHost

Configures an external certificate for communication between NetBackup hosts.

-passphrasePath

Specifies the path to the passphrase file that stores the passphrase, which is used to encrypt the private key.

-privateKeyPath

Specifies the path to the private key file of the certificate.

NetBackup supports PKCS #1 and PKCS #8 formatted private keys that are either plain text or encrypted. These may either be PEM or DER encoded. If, however, the key is PKCS #1 encrypted, it must be PEM encoded. For encrypted private keys, NetBackup supports the following encryption algorithms:

  • DES, 3DES, and AES if the private key is in the PKCS #1 format.

  • DES, 3DES, AES, RC2, and RC4 if the private key is in the PKCS #8 format.

-removeExternalCert

Removes the external certificate that you have configured for the web server for communication between NetBackup hosts, the NetBackup web user interface, or both, based on the option you have configured. Use this command with the -nbHost, -webUI, or -all options.

-removeNBCert

Removes the NetBackup certificate that you have configured for the web server for communication between NetBackup hosts as well as with the NetBackup web user interface.

-trustStorePath

Specifies the path to the certificate authority bundle file. The certificate authority bundle file should be in one of the following formats:

  • PKCS #7 or P7B file having certificates of the trusted root certificate authorities that are bundled together. This file may be either PEM or DER encoded.

  • A file containing the PEM encoded certificates of the trusted root certificate authorities that are concatenated together.

-validateExternalCerts

Verifies whether the external certificate-specific configurations that are provided are valid or not. It provides a report of successful and failed validation checks.

-webUI

Configures an external certificate for communication with the NetBackup web user interface.

EXAMPLES

Example 1: Configure an external certificate for the web server for NetBackup host communication and audit the operation.

configureWebServerCerts -addExternaCert -nbHost -certPath /root/
example_certs/device.crt -privateKeyPath /root/example_certs/
device.key -trustStorePath /root/example_certs/rootCA.pem
-passphrasePath root/example_certs/PassPhrase.txt

Example 2: Configure an external certificate for the web server for host communication using the certificate that you have configured for communication with web UI. The activity is not audited.

configureWebServerCerts -addExternalCert -webUI -copyNbHost

Example 3: Remove the external certificates that you have configured for all kinds of communication - web UI and NetBackup host and audit the operation.

configureWebServerCerts -removeExternalCert -all

Example 4: Configure an external certificate for the web server for NetBackup host communication. The action is not audited.

configureWebServerCerts -addExternaCert -nbHost -certPath /root
/example_certs/device.crt -privateKeyPath /root/example_certs/device.key 
-trustStorePath /root/example_certs/rootCA.pem -passphrasePath root
/example_certs/PassPhrase.txt -force

Example 5: Remove the external certificates that you have configured for all kinds of communication - web UI and NetBackup host. The action is not audited.

configureWebServerCerts -removeExternalCert -all -force