NetBackup™ Commands Reference Guide

Last Published:
Product(s): NetBackup & Alta Data Protection (10.3.0.1, 10.3)
  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.  
      nbauditreport
    100.  
      nbcallhomeproxyconfig
    101.  
      nbcatsync
    102.  
      NBCC
    103.  
      NBCCR
    104.  
      nbcertcmd
    105.  
      nbcertupdater
    106.  
      nbcldutil
    107.  
      nbcmdrun
    108.  
      nbcomponentupdate
    109.  
      nbcplogs
    110.  
      nbcredkeyutil
    111.  
      nbdb_admin
    112.  
      nbdb_backup
    113.  
      nbdb_move
    114.  
      nbdb_ping
    115.  
      nbdb_restore
    116.  
      nbdb_unload
    117.  
      nbdb2adutl
    118.  
      nbdbms_start_server
    119.  
      nbdbms_start_stop
    120.  
      nbdc
    121.  
      nbdecommission
    122.  
      nbdelete
    123.  
      nbdeployutil
    124.  
      nbdevconfig
    125.  
      nbdevquery
    126.  
      nbdiscover
    127.  
      nbdna
    128.  
      nbemm
    129.  
      nbemmcmd
    130.  
      nbfindfile
    131.  
      nbfirescan
    132.  
      nbfp
    133.  
      nbftadm
    134.  
      nbftconfig
    135.  
      nbgetconfig
    136.  
      nbhba
    137.  
      nbholdutil
    138.  
      nbhostidentity
    139.  
      nbhostmgmt
    140.  
      nbhypervtool
    141.  
      nbidpcmd
    142.  
      nbimageshare
    143.  
      nbinstallcmd
    144.  
      nbjm
    145.  
      nbkmiputil
    146.  
      nbkmscmd
    147.  
      nbkmsutil
    148.  
      nboraadm
    149.  
      nborair
    150.  
      nbpem
    151.  
      nbpemreq
    152.  
      nbmariadb
    153.  
      nbmlb
    154.  
      nbperfchk
    155.  
      nbplupgrade
    156.  
      nbrb
    157.  
      nbrbutil
    158.  
      nbreplicate
    159.  
      nbrepo
    160.  
      nbrestorevm
    161.  
      nbseccmd
    162.  
      nbserviceusercmd
    163.  
      nbsetconfig
    164.  
      nbshvault
    165.  
      nbsmartdiag
    166.  
      nbsnapimport
    167.  
      nbsnapreplicate
    168.  
      nbsqladm
    169.  
      nbsqlite
    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

Name

nbserviceusercmd — used to change the service user, and grant or revoke access to NetBackup Services on the NetBackup installation directory, depending on the operating system

SYNOPSIS

UNIX synopsis

nbserviceusercmd --changeUser

Windows synopsis

nbserviceusercmd -addAcl | -removeAcl -all | -catalog | -cluster -reason audit_reason [-skip_catalog] [-force]

nbserviceusercmd -addAcl|-removeAcl path1 path2... -reason reason

nbserviceusercmd -changeUser LocalSystem | LocalService | DOMAIN\Administrator_user [-force]

nbserviceusercmd -checkStatus

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

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

DESCRIPTION

On UNIX, you can only use the nbserviceusercmd command to change the service user.

On Windows, use the nbserviceusercmd command to grant or revoke access to the NetBackup services on the NetBackup installation directory as well as to change the service user.

Be aware that the nbserviceusercmd command is not supported on Flex Appliance, NetBackup Flex Scale, and NetBackup on any Kubernetes Service platform. The Kubernetes Service platforms include Azure Kubernetes Service (AKS), Amazon Elastic Kubernetes Service (EKS), etc.

Note:

You must stop all the NetBackup services or daemons before you change the service user.

Before you change the service user with the -changeUser option on a Windows primary server, you must first run nbserviceusercmd -addAcl -catalog -reason audit_reason.

This requirement is to make sure that permissions on image catalog are updated before you change the user. This operation may take significant time to complete based on the size of the image catalog.

Run the -addAcl -catalog option before you stop the services.

REQUIREMENTS

Before you change the service user, the NetBackup services or daemons must be offline.

To change the service user

  1. (Conditional) On a clustered server, confirm that the cluster resources are offline. For more information, refer to the NetBackup Clustered Primary Server Administrator's Guide.
  2. Stop all NetBackup services or daemons.
  3. Change the service user with the changeUser option.
  4. (Conditional) On a clustered server, run the command on all nodes in the cluster after you change the service user on the active node.

After you change the service user, confirm the disaster recovery (DR) path that is specified in the catalog policy has the required permissions.

To update the disaster recovery path permissions

  1. (Conditional) On a clustered server, confirm that the cluster resources are online. For more information, refer to the NetBackup Clustered Primary Server Administrator's Guide.
  2. Start the NetBackup services or daemons.
  3. (Conditional) On UNIX, grant the required access to the service user on the DR path.
  4. (Conditional) On Windows, run the command that is shown on all servers:

    nbserviceusercmd -addAcl DR_path -reason audit_reason

  5. Veritas recommends that you take an immediate catalog backup.

For NetBackup Access Control (NBAC) users: If NBAC is configured on the host and you changed the service user to a non-root or LocalService user, you must update the Global Security Administrator group.

To update Global Security Administrator group

  1. Confirm that all NetBackup services are up and running.
  2. Run the command that is shown to add the current service user to the Security Administrators group:

    vssaz addazgrpmember --azgrpname "Security Administrators" --prplinfo ATP,atdomain,new service user

    For more information about how to add the user principle in Global Security Administrator group, refer to the NetBackup Security and Encryption Guide.

OPTIONS

-addAcl

(Windows only) Grants access to NetBackup services on the NetBackup installation directory.

-all

(Windows only) Specifies that the operation is to be performed on all files and folders in the NetBackup installation directory. In a clustered environment, the image catalog database and the cluster-specific files are included in these files and folders.

This option skips the image catalog database if CATALOG_PERMISSIONS_UPDATED is set to TRUE in the NetBackup configuration.

-catalog

(Windows only) Specifies that the operation is to be performed only on the image catalog database. This option cannot be used with the -skip_catalog option.

This option skips the image catalog database if CATALOG_PERMISSIONS_UPDATED is set to TRUE in the NetBackup configuration.

--changeUser

(UNIX only) Use this option to change the service user of a UNIX computer. This option changes the service user for non-privileged NetBackup daemons so that they can start in service user context. You must stop all NetBackup daemons to run this option. The option supports both root and non-root service user types. Use this option to change users as shown:

  • Root to non-root

  • Non-root to root

  • Non-root to non-root

Give the user name only when prompted and not as argument-value. You are limited to three attempts and then you must run the command again. Only the root user can run this option.

Note:

Veritas recommends that the service user is an account with limited privileges. Veritas recommends that you do not use the root user or an nbwebsvc user as service user. The service user must be part of the nbwebgrp group on the NetBackup primary server.

-changeUser

(Windows only) Use this option to change the service user. The command supports the service user types shown:

  • LocalSystem

    Changes the service user to NT AUTHORITY\SYSTEM.

  • LocalService

    Changes the service user to NT AUTHORITY\LocalService.

  • Domain\Administrator_user

    Prompts for the password of the specified administrator user and grants the required privileges to the user.

-checkStatus

(Windows only) Use this option to verify the status of the permissions update on the image catalog on the NetBackup primary server.

-cluster

(Windows only) Specifies that the operation is to be performed only on cluster-specific files.

This option skips the image catalog database if CATALOG_PERMISSIONS_UPDATED is set to TRUE in the NetBackup configuration.

-force

(Windows only) Use this option to forcefully grant, revoke, or update permission on the image catalog or to redo the permissions update. This option may take significant time for large catalog image databases. This option cannot be used with the -skip_catalog option.

For example: If the old service user is NT AUTHORITY\LocalService and you want to change the service user back to NT AUTHORITY\LocalService use the -force to again grant or revoke access to the NetBackup services forcefully.

-reason

(Windows only) Specifies the reason of the operation. It is stored in the audit record.

-removeAcl

(Windows only) Revokes access to NetBackup services on the NetBackup installation directory.

-skip_catalog

(Windows only) Specifies that the operation is not to be performed on the image catalog database.

You cannot use this option with the -catalog or the -force options.