NetBackup™ Commands Reference Guide

Last Published:
Product(s): NetBackup (10.0)
  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.  
      bpcleanrestore
    22.  
      bpclient
    23.  
      bpclimagelist
    24.  
      bpclntcmd
    25.  
      bpclusterutil
    26.  
      bpcompatd
    27.  
      bpconfig
    28.  
      bpdbjobs
    29.  
      bpdbm
    30.  
      bpdgclone
    31.  
      bpdown
    32.  
      bpduplicate
    33.  
      bperror
    34.  
      bpexpdate
    35.  
      bpfis
    36.  
      bpflist
    37.  
      bpgetconfig
    38.  
      bpgetdebuglog
    39.  
      bpimage
    40.  
      bpimagelist
    41.  
      bpimmedia
    42.  
      bpimport
    43.  
      bpinst
    44.  
      bpkeyfile
    45.  
      bpkeyutil
    46.  
      bplabel
    47.  
      bplist
    48.  
      bpmedia
    49.  
      bpmedialist
    50.  
      bpminlicense
    51.  
      bpnbat
    52.  
      bpnbaz
    53.  
      bppficorr
    54.  
      bpplcatdrinfo
    55.  
      bpplclients
    56.  
      bppldelete
    57.  
      bpplinclude
    58.  
      bpplinfo
    59.  
      bppllist
    60.  
      bpplsched
    61.  
      bpplschedrep
    62.  
      bpplschedwin
    63.  
      bppolicynew
    64.  
      bpps
    65.  
      bprd
    66.  
      bprecover
    67.  
      bprestore
    68.  
      bpretlevel
    69.  
      bpschedule
    70.  
      bpschedulerep
    71.  
      bpsetconfig
    72.  
      bpstsinfo
    73.  
      bpstuadd
    74.  
      bpstudel
    75.  
      bpstulist
    76.  
      bpsturep
    77.  
      bptestbpcd
    78.  
      bptestnetconn
    79.  
      bptpcinfo
    80.  
      bpup
    81.  
      bpverify
    82.  
      cat_convert
    83.  
      cat_export
    84.  
      cat_import
    85.  
      configureCerts
    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.  
      mklogdir
    101.  
      nbauditreport
    102.  
      nbcallhomeproxyconfig
    103.  
      nbcatsync
    104.  
      NBCC
    105.  
      NBCCR
    106.  
      nbcertcmd
    107.  
      nbcertupdater
    108.  
      nbcldutil
    109.  
      nbcloudrestore
    110.  
      nbcomponentupdate
    111.  
      nbcplogs
    112.  
      nbcredkeyutil
    113.  
      nbdb_admin
    114.  
      nbdb_backup
    115.  
      nbdb_move
    116.  
      nbdb_ping
    117.  
      nbdb_restore
    118.  
      nbdb_unload
    119.  
      nbdb2adutl
    120.  
      nbdbms_start_server
    121.  
      nbdbms_start_stop
    122.  
      nbdc
    123.  
      nbdecommission
    124.  
      nbdelete
    125.  
      nbdeployutil
    126.  
      nbdevconfig
    127.  
      nbdevquery
    128.  
      nbdiscover
    129.  
      nbdna
    130.  
      nbemm
    131.  
      nbemmcmd
    132.  
      nbfindfile
    133.  
      nbfirescan
    134.  
      nbfp
    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

netbackup_deployment_insights — usage tool that gathers, analyzes, and reports master server information regarding clients and capacity

SYNOPSIS

netbackup_deployment_insights --debug-inputs dir1 [dir2 dir3]

netbackup_deployment_insights --gather [--bpimagelist=options] <--capacity ¦ --traditional> [--client hostname1, [hostname2, ...] | --clientlist=filename] [--hoursago=number] [--log=filename] [--master=hostname] [--nolog] [--output=directory] [--runtimestats] [-start date [-end date]] [--client-timeout seconds] [--exclude-clients client1[,client2,...]] [--exclude-clientlist path] [--exclude-all-clients]

netbackup_deployment_insights --report <--capacity ¦ --traditional> [--day-boundary=time] [dir1 dir2 dir# | --dirsfile=filename | --parentdir=directory] [--log=filename] [--nolog] [--overlap-details] [--runtimestats]

netbackup_deployment_insights --retry dir1 [dir2 dir#]

netbackup_deployment_insights --version

 

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

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

DESCRIPTION

With NetBackup 9.1, nbdeployutil is renamed to netbackup_deployment_insights. Veritas recommends that you use the netbackup_deployment_insights command when you manually generate the license reports. You can continue to use the nbdeployutil command with the same options.

The netbackup_deployment_insights tool gathers and analyzes deployment information from the master server. The tool performs a deployment analysis according to one of two NetBackup licensing models, either Traditional Licensing or Capacity Licensing. A Traditional Licensing deployment analysis counts the number of clients and servers then compares this information against licensed options. Capacity Licensing deployment analysis calculates how much source data is protected.

The command is run in two steps. netbackup_deployment_insights gathers the data in the first step and analyzes the data in the second step.

The netbackup_deployment_insights command supports incremental reporting. With this feature, netbackup_deployment_insights runs based on a specified frequency to incrementally gather data and generate capacity-based licensing reports. For more information on how to enable and use this feature, please see the NetBackup Administrator's Guide Volume II.

The tool generates a log file named nbdeployutil-gather-timestamp.log during the gathering operation. The tool generates a log file named nbdeployutil-report-timestamp.log during the analysis and the report generating operation. By default the log files are created in the directory where the gathered data resides.

For more information on Traditional and Capacity based licensing, see the NetBackup Administrator's Guide Volume II.

Note:

You must configure Enhanced Auditing and add the specific user to use netbackup_deployment_insights with non-root user. More information about Enhanced Auditing is available in the NetBackup Security and Encryption Guide.

OPERATIONS

--client-timeout seconds

This option enforces a time-out for bptestbpcd within nbdeployutil independent of the NetBackup configuration.

This option is only applicable if the --gather option is specified. The option not applicable if --capacity is specified.

--debug-inputs

Converts the files that are used to generate the report into human-readable format. These new files are easier to read than the raw output. You can only specify the directories that contain basic ASCII characters. Directories with extended ASCII characters are not permitted.

--exclude-all-clients

This option lets you exclude all clients from bptestbpcd connections. The specified clients show up in the report as unconnectable.

This option is only applicable if the --gather option is specified. The option not applicable if --capacity is specified.

--exclude-clientlist path

Use this option to specify a file that contains a list of clients to exclude from bptestbpcd connections. List each client name on a separate line within the file. The specified clients show up in the report as unconnectable.

This option is only applicable if the --gather option is specified. The option not applicable if --capacity is specified.

--exclude-clients client1[,client2,...]

This option lets you exclude any of the specified clients from bptestbpcd connections. The specified clients show up in the report as unconnectable.

This option is only applicable if the --gather option is specified. The option not applicable if --capacity is specified.

--gather

Collects the data for analysis with the report option. You must use either the capacity or the traditional parameter when using the --gather operation. Only data for the specified license model (capacity or traditional) is collected.

When you run the netbackup_deployment_insights --gather command in capacity or traditional licensing, you are prompted for additional information. You must enter the credential information that is shown for authentication of the NetBackup web management service:

  • Domain Type: Enter a domain type value from NIS, NISPLUS, WINDOWS, vx, unixpwd, ldap. This value is case-sensitive.

  • Domain Name: Name of the domain that the master server host belongs to. If the master server does not belong to any domain, enter the name of the master server.

  • User name: Name of the user that has administrator privileges.

  • Password: The password of the same user that has administrator privileges. When you enter the password, characters are intentionally not displayed in the command line.

In a multi-master server scenario, you must enter the credentials for all the master servers that are mentioned with the gather command.

--report

Produces a license report based on the data that is collected with the gather option. Specify the directory or list of directories for the tool to use for the report. You must use either the capacity or the traditional parameter when using the --report operation.

--retry

Reruns the gather operation and attempts to reconnect to hosts which failed during gather process as determined by the information in the gather directory. This action is helpful with the traditional licensing model when multiple hosts are reported as unreachable.

--version

Returns the version of the command. This option is used to identify the latest NetBackup product version the command is designed to run against. The version string also indicates special versions of the tool, such as engineering binaries. This option is useful if tool was manually copied to a pre-7.1 master server.

OPTIONS

--bpimagelist

Use to pass specific options to bpimagelist command during the gather part of the process.

--capacity

Specifies the license model when used with gather or report. Use capacity to report on deployment according to NetBackup's per terabyte capacity licensing model.

--client or --clientlist

Collects the data or reports on data for a specified client or list of clients only. When you use client, separate multiple clients with a comma. To use the clientlist parameter, list the clients in the filename on separate lines. When you use the --client or the --clientlist option, the report may show some media servers as not connectable even though the tool can connect to them. This problem should not affect the summary information.

--day-boundary

Moves the start of the report window for creating reports. The default report window starts at midnight and runs to 11:59:59 P.M. Specify the time value as hh:mm in 24-hour notation, where 6:00 A.M. is 06:00 and 6:00 P.M. is 18:00.

--dirsfile

A file containing a list of directories which the report parameter uses to generate a report. This parameter is an alternative to listing all the files after the report parameter. You can also use the parentdir parameter to list a parent directory for the report parameter to use.

--end

Specifies the end date for a restricted date range of the collection period. This option is used only with the start option. The format for this parameter is "MM/DD/YYYY hh:mm:ss". Specify the time value hh:mm:ss in 24-hour notation, where 6:00 A.M. is 06:00:00 and 6:00 P.M. is 18:00:00. Double quotation marks must surround the date time value.

--hoursago

Changes the default value for the image gather time interval. The value is specified in hours. The default value is 2160 hours (90 days).

--log

Forces the log output to go to a specific log file. By default, the log output is written to a log file within the directory where the gathered data and report is stored.

--master

Gathers capacity licensing data for the specified master server. This option is only used with --gather. For the local host to gather data from a remote server, the host name must appear in the server list of the remote server.

This option only supports remotely gathered capacity licensing information. Remotely gathered traditional licensing data is not supported.

--nolog

Disable the creation of the debug log file.

--output

Saves the results in the indicated output directory. You can only specify the directories that contain basic ASCII characters. Directories with extended ASCII characters are not permitted. If the operation is a gather, the output directory holds gathered data. For report operations, the report and log file are put in the output directory instead of co-located with the gathered data in the specified input directory. If the output option is not specified, the output is placed in the following directory:

  • UNIX: /usr/openv/var/global/reports/ YYYYMMDD_hhmmss_masterserver

  • Windows: install_path\NetBackup\var\global\reports\YYYYMMDD_hhmmss_masterserver

--overlap-details

Displays the duplicate backup selections in the Duplicate Selections column of the capacity licensing report. This option can only be used for ASCII or English-only characters in the backup selection data.

--parentdir

Specifies the top level in a directory tree containing many directories with the gathered licensing data that the report parameter should use to generate a report. You can also use the dirsfile parameter to specify a file that contains a list of directories.

--runtimestats

Displays the run time statistics for the tool. The statistics include memory and CPU usage.

Example UNIX output:

stats  mem 40.1 M, cpu 27.0% after splitting t/fixture/
nbdeployutil_sidon/bpimagelist_sidon.out
stats  mem 40.1 M, cpu 28.0% after parsing records from t/fixture/
nbdeployutil_sidon/tmp/policy_db_arc_tab_2gig_nt_client_totem7.out
stats  mem 40.6 M, cpu 50.0% after calculating for UNKNOWN-1 in 
t/fixture/nbdeployutil_sidon/ stats  mem 40.6 M, cpu 51.0% after 
main report loop took 1 sec
--start

Specifies the start date for a restricted date range for the collection period. The format for this parameter is "MM/DD/YYYY hh:mm:ss". Specify the time value hh:mm:ss in 24-hour notation, where 6:00 A.M. is 06:00:00 and 6:00 P.M. is 18:00:00. Be aware the double quotation marks around the date time value are required.

--traditional

Used with gather or report to specify the license model. Use --traditional to report on deployment according to NetBackup traditional per server licensing model. The default value is 2160 hours (90 days).

--verbose

Outputs detailed progress information of the tool to the screen, which has no effect on the information in the debug log file. The contents of the log file are always verbose.

PREREQUISITES

The following are the prerequisites for the netbackup_deployment_insights tool:

  • The master server daemons or services must run in the environment to gather the data.

  • Confirm that sufficient disk space exists on the master server that runs the gather command. Gathering capacity licensing data collects bpimagelist output for the previous 90 days. The size of the output is a function of the number of images in the catalog for that period. The default time period can be moved or shrunk. Shorter time range analysis causes less accurate or incomplete figures.

  • Microsoft Excel is required to view the report. The software does not have to be installed on the master server.

EXAMPLES

Example 1 - Collect data for a capacity licensing report. The directory paths are for a UNIX system, but this example applies to a Windows system as well.

# ./netbackup_deployment_insights --gather --capacity
NetBackup Deployment Insights, version 9.0.1
Gathering license deployment information...
  Discovered master server punnbuucsm5b38-vm80

Enter credentials for Master Server(s):

Master Server:punnbuucsm5b38-vm80
Domain Type (NIS, NISPLUS, WINDOWS, vx, unixpwd, ldap):unixpwd
Domain Name  :punnbuucsm5b38-vm80
User Name    :root
Password     :

Data gather is in progress. This process might take some time.
  Output for punnbuucsm5b38-vm80 at: /usr/openv/var/global/reports/
20210309_101511_punnbuucsm5b38-vm80
Gather DONE
Execution time: 25 secs
To create a report for this master server, run the following:
  netbackup_deployment_insights --report --capacity /usr/openv/var/global/
reports/20210309_101511_punnbuucsm5b38-vm80
#

Example 2 - Generate a capacity licensing report with the data from example 1. The directory paths are for a UNIX system, but this example applies to a Windows system as well.

# ./netbackup_deployment_insights --report --capacity /usr/openv/var/
global/reports/20210309_101511_punnbuucsm5b38-vm80
NetBackup Deployment Insights, version 9.0.1
Analyzing license deployment ...
  Report created at: /usr/openv/var/global/reports/
20210309_101511_punnbuucsm5b38-vm80/report-capacity-punnbuucsm5b38-
vm80-20210309_101705.xls
Analysis DONE
Execution time: 0 sec
#

Example 3 - Collect data for a traditional licensing report. The directory paths are for a UNIX system, but this example applies to a Windows system as well.

# ./netbackup_deployment_insights --gather --traditional
NetBackup Deployment Insights, version 9.0.1
Gathering license deployment information...
  Discovered master server punnbuucsm5b38-vm80
  Output for punnbuucsm5b38-vm80 at: /usr/openv/var/global/reports/
20210309_101809_punnbuucsm5b38-vm80
Gather DONE
Execution time: 9 secs
To create a report for this master server, run the following:
  netbackup_deployment_insights --report --traditional /usr/openv/var/
global/reports/20210309_101809_punnbuucsm5b38-vm80
#

Example 4 - Generate a traditional licensing report with the data from example 3. The directory paths are for a UNIX system, but this example applies to a Windows system as well.

# ./netbackup_deployment_insights --report --traditional /usr/openv/var/
global/reports/20210309_101809_punnbuucsm5b38-vm80
NetBackup Deployment Insights, version 9.0.1
Analyzing license deployment ...
  Report created at: /usr/openv/var/global/reports/
20210309_101809_punnbuucsm5b38-vm80/report-traditional-punnbuucsm5b38-
vm80-20210309_101945.xls
Analysis DONE
Execution time: 1 sec
#

SEE ALSO

See bpimagelist.

See nbdeployutil.