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

bpconfig — modify or display global configuration attributes for NetBackup

SYNOPSIS

bpconfig [-cd seconds] [-ha hours] [-kl days] [-kt days] [-ma [address]] [-sto seconds] [-mj number] [-period hours] [-prep hours] [-to seconds] [-cleanup_int hours] [-cleanup_wait minutes] [-tries times] [-wi minutes] [-pui minutes] [-v] [-M master_server,...] [-rj 0|1|2] [-ica_min_size size] [-ica_retention seconds] [-image_expiry_dependency_check 0|1]

bpconfig [-L | -l | -U [-v] [-M master_server,...]]

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

The bpconfig command modifies or displays the NetBackup global configuration attributes. These attributes affect operations for all policies and clients. With the exception of the NetBackup administrator's email address, the default values for these attributes are adequate for most installations.

See "About specifying the locale of the NetBackup installation" in the NetBackup Administrator's Guide, Volume II.

For implications of setting the attribute values, see NetBackup Global Attributes in the NetBackup Administrator's Guide, Volume I.

The following describes the two forms of bpconfig:

  • The first form of bpconfig modifies one or more of the NetBackup global configuration attributes. At least one option that changes a NetBackup global configuration attribute must be on the command line.

  • The second form of bpconfig displays the current settings of the NetBackup global configuration attributes. See DISPLAY FORMATS for more detail.

Errors are sent to stderr. A log of the command activity is sent to the NetBackup admin log file for the current day.

OPTIONS

-cd seconds

Specifies the number of seconds that is the Compress Catalog Interval. When seconds is an integer, an image compresses after this number of seconds has elapsed since the creation of the image. The range of values is 86400 to 2147472000. The default is zero (0), which means no compression is done.

Use the bpimage command to decompress the images.

-cleanup_int hours

Specifies the minimum period of time (in hours) that can elapse without a catalog cleanup. The default value is 12 (hours). Since cleanup cannot run during a catalog backup, large 24x7 environments that run long catalog backups may need a shorter cleanup interval (e.g., three hours). Regardless of the value of this option, the image database is automatically cleaned up at the end of a session of scheduled backups.

This option appears in the output display as Image DB Cleanup Interval (see examples).

-cleanup_wait minutes

Specifies the interval (in minutes) between image database catalog cleanup operations. The default value is 60 (minutes). If multiple backups occur during this cleanup wait interval, NetBackup only initiates one cleanup operation in this time period. The range of values is zero (0) to 720.

-ha hours

Specifies the number of hours ago that is the beginning of the time range for selecting NetBackup report entries. The end of the time range is the current time. For example, if hours ago is 24 and if you request a Backup Status report at 10:00 a.m., the report includes the following: All backups that ran from 10:00 a.m. yesterday until 10:00 a.m. today.

This value is used to calculate the time range for general reports and media reports. General reports include Backup Status, Client Backups, Problems, and All Log Entries. Media reports include Media List, Media Summary, Media Contents, Images on Media, and Media Log Entries.

Hours Ago is a positive integer in the range of 1 to 32767. The default value is 24 (hours).

-ica_min_size size

Specifies the minimum catalog .f file size in kilobytes (KBs) for intelligent catalog archiving (ICA). When the value is between 0 and 2097151, any catalog .f files (or files file) that is larger than or equal to the size value is removed from the catalog disk. The default value is 1024.

Note:

This attribute applies only to servers running NetBackup 10.0 and later using MSDP or MSDP Cloud storage.

-ica_retention seconds

Specifies the intelligent catalog archiving (ICA) retention period in seconds. When the value is between 1 and 2147472000, ICA is enabled and any catalog .f files (or files file) that is older than the value is removed from the catalog disk. Setting this value to zero (0) disables ICA. The default value for NetBackup Flex Scale and CloudScale environments is 2592000 (30 days). The default value for all other NetBackup environments is 0 (disabled).

Note:

This attribute applies only to servers running NetBackup 10.0 and later using MSDP or MSDP Cloud storage.

-image_expiry_dependency_check 0|1

Disables or enables image expiration dependency checking. This option is enabled by default.

  • 0 - Disables the option.

  • 1 - Enables the option.

This option is displayed in the output of bpconfig -U:

Image Expiry Dependency Check:(enabled)

-kl days

The number of days to keep logs. This number determines how long the NetBackup master server keeps its Error database and debug logs.

NetBackup derives its Backup Status, Problems, All Log Entries, and Media Log Entries reports from the Error database.

This value limits the period that these reports can cover. The range of values is 1 to 24855. The default is 28 days. A value of zero (0) turns logs off.

Note:

This attribute has no effect on remote media servers or clients (remote media servers apply only to NetBackup Enterprise Server).

-kt days

The number of days to Keep True-image-recovery (TIR) data. This value determines how long to keep TIR information for those policies that specify the collection of TIR information. The range of values is 1 to 24855. The default is one (1) day. A value of zero (0) turns off the TIR information.

-L

The list type is long. See the section DISPLAY FORMATS for more detail.

-l

The list type is short. This option is the default if the command line has no list-type option (for instance, if you enter bpconfig and a carriage return). See the section DISPLAY FORMATS for more detail.

-M master_server,...

The master server where the global configuration attributes reside.

-ma [address]

The mail address for the NetBackup administrator. NetBackup sends notification of failed automatic backups, the manual backup operations that the administrator directs, and automatic database backups to this email address. The default is NULL (no email address).

If no address is provided, the current setting of the Admin Mail Address is cleared. No notification email is sent to the NetBackup administrator.

-mj number

Specifies the maximum jobs per client. This number is the maximum number of jobs that a client can perform concurrently. It must be a positive integer. The range values are 1 to 32767. The default value is 1.

-period hours

The time interval that is associated with the configured number of tries for a backup (see -tries). This interval is the period in hours during which NetBackup tries a backup job for a client/policy/schedule combination for as many tries as configured. The hours must be a positive integer. The range values are 1 to 24. The default value is 12 hours.

Note:

This attribute does not apply to user-directed backups and archives.

-prep hours

Specifies the preprocessing interval. This interval is the minimum time in hours between client queries to discover new paths when NetBackup uses auto-discover-streaming mode.

The default Preprocess Interval value is four (4) hours. If the preprocessing interval changes, change it back to the default by specifying -prep -1. The preprocessing interval can be set to preprocess immediately by specifying 0 as the preprocess interval for autodiscovery on the bpconfig command line. The maximum Preprocessing Interval is 48 hours.

For more information, see the NetBackup Administrator's Guide, Volume I.

-pui minutes

Specifies the policy update interval, which is how often NetBackup policy updates are processed. The default value is 10 minutes. The range of values is 1 to 1440 (minutes).

-rj 0|1|2

Used to change the behavior of resilient jobs.

When this setting is enabled, the media server's job processes continue to run during a service disruption with the primary server. The primary server re-establishes connections to the active media server processes during its next service startup. The default value is 2, which means resilient jobs is enabled.

  • 0: Resilient jobs off and terminate.

    This option prevents new jobs from starting as resilient jobs. In addition, if there is a service interruption that would normally result in a resilient job reconnecting to the media server, the job is terminated instead.

  • 1: Resilient jobs off.

    This option prevents new jobs from starting as resilient jobs.

  • 2: Resilient jobs on.

    This option lets new jobs start as a resilient job.

-sto seconds

The multihosted-media-mount timeout. This timeout is the time in seconds that NetBackup waits for a shared medium to be mounted, positioned, and ready on backups and restores. Use this timeout to eliminate excessive waits if another server uses a shared medium. The default is 0, which means no timeout (unlimited wait time).

For more details about multihosted drives, see the NetBackup Administrator's Guide, Volume I.

-to seconds

Specifies the media-mount timeout. This timeout is the time in seconds that NetBackup waits for the requested media to be mounted, positioned, and ready on backups and restores. Use -to to eliminate excessive waits when you need to mount media manually (for example, when robotic media is out of the robot or off site).

The default is 0, which means no timeout (unlimited wait time). If seconds is not 0, its value range is 1 to 32,767 seconds.

-tries times

The number of retries for a backup during the configured time period (see -period). For a given combination of client, policy, and schedule, NetBackup tries to run a backup job the specified number of times. This option limits the number of backup tries if repeated failures occur.

Note:

This attribute does not apply to user-directed backups and archives.

Values for -tries range from 1 to 32767. The default is two tries. If defaults are used for both -tries and -period, NetBackup tries the backup two times in 12 hours.

-U

The list type is user. See DISPLAY FORMATS for more detail.

-v

Selects verbose mode for logging. This option is meaningful only if it runs with the debug log function on. Therefore, the following directory must be defined:

On UNIX systems: /usr/openv/netbackup/logs/admin

On Windows systems: install_path\NetBackup\logs\admin

-wi minutes

Job Retry Delay. Specifies how often NetBackup retries a job. The default value is 10 minutes. The range of values is 1 to 1440 (minutes).

DISPLAY FORMATS

bpconfig uses the following three different formats to display the current values of the NetBackup global configuration attributes:

  • User Display Format (-U)

    The NetBackup graphical user interface uses this display format. This option produces a list with one global attribute per line. Each line has the form global attribute descriptor: value. This list is similar to the -L format, except that the global attribute descriptors are more explicit.

    The following is an example of the user display format:

    # bpconfig -U
        Admin Mail Address:
        Job Retry Delay:              1 minutes
        Max Simultaneous Jobs/Client: 1
        Backup Tries:                 2 time(s) in 12 hour(s)
        Keep Error/Debug Logs:        28 days
        Max drives this master:       0
        Keep TrueImageRecovery Info:  1 days
        Compress DB Files:            (not enabled)
        Media Mount Timeout:          0 minutes (unlimited)
        Display Reports:              24 hours ago
        Preprocess Interval:          0 hours
        Image DB Cleanup Interval:    12 hours
        Image DB Cleanup Wait Time:   60 minutes
        Policy Update Interval:       10 minutes
  • Long Format (-L)

    If the command line contains -L, the display format is long. This option produces a list with one global attribute per line, in the format global attribute descriptor: value. The fields are as follows:

    The following example shows the long format:

    # bpconfig -L
        Mail Admin:            *NULL*
        Job Retry Delay:       1 minutes
        Max Jobs/Client:       1
        Backup Tries:          2 in 12 hours
        Keep Logs:             28 days
        Max drives/master:     0
        Compress DB Files:     (not enabled)
        Media Mnt Timeout:     0 minutes (unlimited)
        Shared Timeout:        0 minutes(unlimited)
        Media Int Timeout:     0 minutes (unlimited)
        Display Reports:       24 hours ago
        Keep TIR Info:         1 days
        Prep Interval:         0 hours
        DB Clean Interval:     12 hours
        DB Clean Wait Time:    60 minutes
        Policy Update Interval:10 minutes
  • Short Format (-l)

    If the bpconfig command line contains -l or contains no list-format option, the display format is short, which produces a terse listing. This option is useful for the scripts or the programs that rework the list into a customized report format. The list layout is a single line that contains the values for all global attributes. The time units follow the attributes in parentheses for the attributes that are expressed in units of time. The attributes appear in the following order with blanks between them:

    The following is an example of the short format:

    # bpconfig -l
        *NULL* 1 12 1 2 28 0 0 0 0 1 24 1 0 2 10 60

    The display fields for the -l display are interpreted as follows:

    • NetBackup administrator email address has not been set.

    • Job Retry Delay is 1 minute.

    • Time period is 12 hours.

    • Maximum simultaneous jobs per client is 1.

    • Tries per period is 2.

    • Keep logs for 28 days.

    • Maximum drives this master is 0.

    • Compress Catalog Interval is 0 seconds; 0 denotes no compression.

    • Media mount timeout is 0 seconds; 0 denotes unlimited.

    • Multihosted-media-mount timeout is 0 seconds; 0 denotes unlimited.

    • Postprocess images flag is 1 (immediate).

    • Display reports from 24 hours ago.

    • Keep TIR information for one (1) day.

    • Preprocessing interval is zero (0) hours.

    • Catalog database cleanup interval is two (2) hours.

    • Catalog database cleanup wait time is 10 minutes.

    • Policy update interval is 60 minutes.

    • Intelligent Catalog Archiving retention is 259200 seconds.

    • Intelligent Catalog Archiving minimum file size is 1024 KB.

RETURN VALUES

An exit status of zero (0) means that the command ran successfully. Any exit status other than zero (0) means that an error occurred.

If the administrative log function is enabled, the exit status is logged in the administrative daily log under the log directory:

Windows: install_path\NetBackup\logs\admin
UNIX: /usr/openv/netbackup/logs/admin

It has the following form:

bpconfig: EXIT status = exit status

If an error occurred, a diagnostic precedes this message.

EXAMPLES

Example 1 - While the master server kiwi runs, display the global attribute settings on the master server plim:

# bpconfig -U -M plim
Admin Mail Address:           ichabod@null.null.com
Job Retry Delay:              10 minutes
Max Simultaneous Jobs/Client: 1
Backup Tries:                 1 time(s) in 8 hour(s)
Keep Error/Debug Logs:        6 days
Max drives this master:       0
Keep TrueImageRecovery Info:  1 days
Compress DB Files:            (not enabled)
Media Mount Timeout:          30 minutes
Display Reports:              24 hours ago
Preprocess Interval:          0 hours
Image DB Cleanup Interval:    12 hours
Image DB Cleanup Wait Time:   60 minutes
Policy Update Interval:       10 minutes

Example 2 - Set the Compress Catalog Interval to 604800 seconds, so that NetBackup compresses images more than seven days old:

# bpconfig -cd 604800
#bpconfig -U
Admin Mail Address:           *NULL*
Job Retry Delay:              10 minutes
Max Simultaneous Jobs/Client: 1
Backup Tries:                 2 time(s) in 12 hour(s)
Keep Error/Debug Logs:        28 days
Max drives this master:       0
Keep TrueImageRecovery Info:  2 days
Compress DB Files:            older than 7 day(s)
Media Mount Timeout:          0 minutes (unlimited)
Display Reports:              24 hours ago
Preprocess Interval:          0 hours
Image DB Cleanup Interval:    12 hours
Image DB Cleanup Wait Time:   60 minutes
Policy Update Interval:       10 minutes

Example 3 - Set the Media Mount Timeout to 1800 seconds.

# bpconfig -to 1800
# bpconfig -U
Admin Mail Address:           sasquatch@wapati.edu
Job Retry Delay:               10 minutes
Max Simultaneous Jobs/Client:   1
Backup Tries:                   1 time(s) in 12 hour(s)
Keep Error/Debug Logs:          3 days
Max drives this master:         0
Keep TrueImageRecovery Info:   24 days
Compress Image DB Files:          (not enabled)
Media Mount Timeout:           30 minutes
Display Reports:               24 hours ago
Preprocess Interval:           0 hours
Image DB Cleanup Interval:    12 hours
Policy Update Interval:       10 minutes

FILES

UNIX systems:

/usr/openv/netbackup/logs/admin/*
/usr/openv/netbackup/db/config/behavior

Windows systems:

install_path\NetBackup\db\config\behavior
install_path\NetBackup\logs\admin\*

SEE ALSO

See bpimage.

For more details about multihosted drives, see the NetBackup Administrator's Guide, Volume I.