Veritas NetBackup™ Commands Reference Guide

Last Published:
Product(s): NetBackup (8.1)
  1. Introduction
    1.  
      About NetBackup commands
    2.  
      Navigating multiple menu levels
    3.  
      NetBackup command conventions
    4.  
      NetBackup Media Manager command notes
  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.  
      bppolicynew
    62.  
      bpps
    63.  
      bprd
    64.  
      bprecover
    65.  
      bprestore
    66.  
      bpretlevel
    67.  
      bpschedule
    68.  
      bpschedulerep
    69.  
      bpsetconfig
    70.  
      bpstsinfo
    71.  
      bpstuadd
    72.  
      bpstudel
    73.  
      bpstulist
    74.  
      bpsturep
    75.  
      bptestbpcd
    76.  
      bptestnetconn
    77.  
      bptpcinfo
    78.  
      bpup
    79.  
      bpverify
    80.  
      cat_convert
    81.  
      cat_export
    82.  
      cat_import
    83.  
      configurePorts
    84.  
      create_nbdb
    85.  
      csconfig cldinstance
    86.  
      csconfig cldprovider
    87.  
      csconfig meter
    88.  
      csconfig throttle
    89.  
      duplicatetrace
    90.  
      importtrace
    91.  
      jbpSA
    92.  
      jnbSA
    93.  
      ltid
    94.  
      manageClientCerts
    95.  
      mklogdir
    96.  
      nbauditreport
    97.  
      nbcatsync
    98.  
      NBCC
    99.  
      NBCCR
    100.  
      nbcertcmd
    101.  
      nbcertupdater
    102.  
      nbcldutil
    103.  
      nbcomponentupdate
    104.  
      nbcplogs
    105.  
      nbdb_admin
    106.  
      nbdb_backup
    107.  
      nbdb_move
    108.  
      nbdb_ping
    109.  
      nbdb_restore
    110.  
      nbdb_unload
    111.  
      nbdbms_start_server
    112.  
      nbdbms_start_stop
    113.  
      nbdc
    114.  
      nbdecommission
    115.  
      nbdelete
    116.  
      nbdeployutil
    117.  
      nbdevconfig
    118.  
      nbdevquery
    119.  
      nbdiscover
    120.  
      nbdna
    121.  
      nbemm
    122.  
      nbemmcmd
    123.  
      nbexecute
    124.  
      nbfindfile
    125.  
      nbfirescan
    126.  
      nbftadm
    127.  
      nbftconfig
    128.  
      nbgetconfig
    129.  
      nbhba
    130.  
      nbholdutil
    131.  
      nbhostidentity
    132.  
      nbhostmgmt
    133.  
      nbhypervtool
    134.  
      nbjm
    135.  
      nbkmsutil
    136.  
      nboraadm
    137.  
      nborair
    138.  
      nbpem
    139.  
      nbpemreq
    140.  
      nbperfchk
    141.  
      nbplupgrade
    142.  
      nbrb
    143.  
      nbrbutil
    144.  
      nbregopsc
    145.  
      nbreplicate
    146.  
      nbrestorevm
    147.  
      nbseccmd
    148.  
      nbsetconfig
    149.  
      nbsnapimport
    150.  
      nbsnapreplicate
    151.  
      nbsqladm
    152.  
      nbstl
    153.  
      nbstlutil
    154.  
      nbstop
    155.  
      nbsu
    156.  
      nbsvrgrp
    157.  
      resilient_clients
    158.  
      restoretrace
    159.  
      stopltid
    160.  
      tl4d
    161.  
      tl8d
    162.  
      tl8cd
    163.  
      tldd
    164.  
      tldcd
    165.  
      tlhd
    166.  
      tlhcd
    167.  
      tlmd
    168.  
      tpautoconf
    169.  
      tpclean
    170.  
      tpconfig
    171.  
      tpext
    172.  
      tpreq
    173.  
      tpunmount
    174.  
      verifytrace
    175.  
      vltadm
    176.  
      vltcontainers
    177.  
      vlteject
    178.  
      vltinject
    179.  
      vltoffsitemedia
    180.  
      vltopmenu
    181.  
      vltrun
    182.  
      vmadd
    183.  
      vmchange
    184.  
      vmcheckxxx
    185.  
      vmd
    186.  
      vmdelete
    187.  
      vmoprcmd
    188.  
      vmphyinv
    189.  
      vmpool
    190.  
      vmquery
    191.  
      vmrule
    192.  
      vmupdate
    193.  
      vnetd
    194.  
      vxlogcfg
    195.  
      vxlogmgr
    196.  
      vxlogview
    197.  
      W2KOption

Name

nbsqladm — configure SQL Server instances for a SQL Server Intelligent backup policy

SYNOPSIS

nbsqladm [-S master_server] -list_instances [instance_name] [-host name] [-active | -inactive] [-registered | -unregistered]

nbsqladm [-S master_server] -add_instance instance_name -host name [-instance_group name | -local_credentials | -user name -domain name] [-force]

nbsqladm [-S master_server] -register_instance instance_name [-host name] [-instance_group name | -local_credentials | -user name -domain name] [-force]

nbsqladm [-S master_server] -delete_instance instance_name [-host name]

nbsqladm [-S master_server] -modify_instance instance_name [-new_instance instance_name] -host name [-new_host name] [-instance_group name | -local_credentials | -user name -domain name] [-active | -inactive] [-force]

nbsqladm [-S master_server] -remove_from_instance_group instance_name [-instance_group name] [-host name]

nbsqladm [-S master_server] -initiate_discovery

nbsqladm [-S master_server] -list_instance_groups [instance_group_name]

nbsqladm [-S master_server] -add_instance_group instance_group_name [-local_credentials | -user name -domain name]

nbsqladm [-S master_server] -delete_instance_group name

nbsqladm [-S master_server] -modify_instance_group name [-new_instance_group name] [[-local_credentials | -user name -domain name] [-validate]]

nbsqladm [-S master_server] -list_dbas

nbsqladm [-S master_server] -add_dba host_name user_name

nbsqladm [-S master_server] -delete_dba host_name user_name

nbsqladm [-S master_server] -auto_registration instance_group_name

nbsqladm [-S master_server] -disable_auto_registration

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

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

DESCRIPTION

The nbsqladm command configures SQL Server instances and instance groups for use with a SQL Server Intelligent Policy. You can also use this command on the master server to authorize DBAs to use the nbsqladm on a specific host.

OPTIONS

For a SQL Server cluster, for the -host name provide the virtual name of the SQL Server. If you have multiple NICs, provide the private interface name of the SQL Server host. For a SQL Server cluster with multiple NICs, provide the private virtual name of the SQL Server.

-add_dba host_name user_name

Authorizes the specified DBA (user_name) to use the nbsqladm command on a specific host (host_name). Can only be used on the master server.

If you have multiple NICs, provide the private interface name of the SQL Server host.

For a SQL Server cluster, authorize the DBA for each node in the cluster. (Do not authorize a DBA using the virtual name of the SQL Server cluster.) For the -host name provide one of the node names in the SQL Server cluster.

For a SQL Server cluster with multiple NICs, authorize the DBA using the private interface name for each of the nodes in the SQL Server cluster.

-add_instance instance_name -host name [-instance_group name | -local_credentials | -user name -domain name] [-force]

Add an instance to the NetBackup catalog.

For a SQL Server cluster, for the -host name provide the virtual name of the SQL Server cluster. If you have multiple NICs, provide the private interface name of the SQL Server host. For a SQL Server cluster with multiple NICs, provide the private virtual name of the SQL Server cluster.

-add_instance_group instance_group_name [-local_credentials | -user name -domain name]

Add an instance group to the NetBackup catalog. You can add credentials to the instance group with the -local_credentials or the -user name -domain name option.

-auto_registration instance_group_name

Enables the automatic registration for the named instance group. Newly discovered instances are automatically registered with the group credentials and added to the instance group. If you want any instances that were previously discovered to be included in the instance group, you must add those instances manually. Only one instance group can be enabled for automatic registration.

-delete_dba host_name user_name

Removes the authorization to use the nbsqladm command for the specified host (host_name) and DBA (user_name). Can only be used on the master server.

If you have multiple NICs, provide the private interface name of the SQL Server host.

For a SQL Server cluster, remove authorization for the DBA for each node in the cluster. (You cannot remove authorization for a DBA using the virtual name of the SQL Server cluster.) For the -host name provide one of the node names in the SQL Server cluster.

For a SQL Server cluster with multiple NICs, remove authorization using the private interface name for each of the nodes in the SQL Server cluster.

-delete_instance instance_name [-host name]

Delete an instance from the NetBackup catalog.

For a SQL Server cluster, for the -host name provide the virtual name of the SQL Server cluster. If you have multiple NICs, provide the private interface name of the SQL Server host. For a SQL Server cluster with multiple NICs, provide the private virtual name of the SQL Server cluster.

-delete_instance_group name

Delete an instance group.

-disable_auto_registration

Disables the automatic registration so that newly discovered instances are not automatically registered and added to an instance group.

-force

Forces NetBackup to register the instance and skip the validation of the instance credentials. NetBackup for SQL Server cannot protect any instances that are not registered or that have invalid credentials.

-host name or -new_host name or host_name

Specifies the name of the host where the SQL Server database resides.

If you have multiple NICs, provide the private interface name of the SQL Server host. For a SQL Server cluster, for the host name provide the virtual name of the SQL Server cluster. For a SQL Server cluster with multiple NICs, provide the private virtual name of the SQL Server cluster.

-instance instance_name or -new_instance instance_name

Specifies the name of the SQL Server instance.

-instance_group name

Specifies the name of the instance group to which you want to add or remove an instance.

Or indicates that the instance group you want to use to register an instance. Alternatively, you can register an instance with instance group credentials or specific credentials. Also see the -local_credentials and -user name -domain name options.

The credentials must have certain security privileges. See the NetBackup for SQL Server Administrator's Guide.

-initiate_discovery

Start the discovery process to discover any SQL Server instances that were added to your environment since the last discovery.

-list_dbas

Display a list of all database administrators (DBAs) able to use nbsqladm. Can only be used on the master server.

-list_instances [instance_name] [-host name] [-active | -inactive] [-registered | -unregistered]

List all SQL Server instances in the NetBackup catalog.

Use instance_name to list a specific instance. Use -registered or -unregistered to list the registered or unregistered SQL Server instances. The options -active and -inactive to display the instances that are active for NetBackup (available for backup) and the inactive instances. The default condition is to list all instances.

If you have multiple NICs, provide the private interface name of the SQL Server host. For a SQL Server cluster, for the -host name provide the virtual name of the SQL Server cluster. For a SQL Server cluster with multiple NICs, provide the private virtual name of the SQL Server cluster.

-list_instance_groups [instance_group_name]

List the SQL Server instance groups that exist. Use instance_group_name to list a specific instance group.

-local_credentials

Indicates that you want to register an instance with the credentials that were used to install NetBackup. Alternatively, you can register an instance with instance group credentials or specific credentials. See the -instance_group name and -user name -domain name options.

The credentials must have certain security privileges. See the NetBackup for SQL Server Administrator's Guide.

When it is used with the -validate option to modify an instance group you can also validate the credentials for each instance in the group.

-modify_instance instance_name [-new_instance instance_name] -host name [-new_host name] [-instance_group name | -local_credentials | -user name -domain name] [-active | -inactive] [-force]

Change the attributes of the specified instance.

Use -active to make an instance that you deactivated in NetBackup available for backup. Or you can make an instance inactive in NetBackup with -inactive. For example, if the instance is under maintenance.

If you have multiple NICs, provide the private interface name of the SQL Server host. For a SQL Server cluster, for the -host name provide the virtual name of the SQL Server cluster. For a SQL Server cluster with multiple NICs, provide the private virtual name of the SQL Server cluster.

-modify_instance_group [-new_instance_group name] [[-local_credentials | -user name -domain name] [-validate]]

Change the attributes of the specified instance group.

-new_instance_group name changes the name of the instance group. Use -local_credentials or -user name -domain name to add or change the credentials for the instance group. The -validate option validates the group credentials for each instance in the instance group. This option is used with -local_credentials or -user name -domain name.

-register_instance instance_name [-instance_group name | -local_credentials | -user name -domain name] [-force]

Register credentials for an instance. See the description for -instance_group name, -local_credentials, and -user name -domain name.

For a SQL Server cluster or multiple NICs, before you register an instance ensure that the instance was added with the correct host name. If you have multiple NICs, the host name is the private interface name of the SQL Server host. A SQL Server cluster requires only one entry in instance management; the host name is the virtual name of the SQL Server cluster. For a SQL Server cluster with multiple NICs, the host name is the private virtual name of the SQL Server cluster.

-remove_from_instance_group instance_name [-instance_group name] [-host name]

Remove an instance from an instance group.

-S master_server

Specifies the master server for the instance or the instance group that you want to add, change, or delete. Or use to indicate the master server on which you want to perform a specific command.

-user name -domain name

Indicates that you want to register an instance with the specific credentials that you provide. Alternatively, you can register an instance with instance group credentials or local credentials. See the -instance_group name and -local_credentials options.

The credentials must have certain security privileges. See the NetBackup for SQL Server Administrator's Guide.

When it is used with the -validate option to modify an instance group you can also validate the credentials for each instance in the group.

EXAMPLES

Example 1 - Add local credentials to the instance group marketing without validating the credentials.

nbsqladm -modify_instance_group marketing -local_credentials

Example 2 - Add credentials for the user adminuser in the domain corp to the instance group marketing. Also validate the credentials for each instance in the group.

nbsqladm -modify_instance_group marketing -user adminuser -domain 
corp -validate