Veritas NetBackup™ Commands Reference Guide

Last Published:
Product(s): NetBackup (8.2)
  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.  
      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.  
      bptpcinfo
    79.  
      bpup
    80.  
      bpverify
    81.  
      cat_convert
    82.  
      cat_export
    83.  
      cat_import
    84.  
      configureCertsForPlugins
    85.  
      configureMQ
    86.  
      configurePorts
    87.  
      configureWebServerCerts
    88.  
      create_nbdb
    89.  
      csconfig cldinstance
    90.  
      csconfig cldprovider
    91.  
      csconfig meter
    92.  
      csconfig throttle
    93.  
      csconfig reinitialize
    94.  
      duplicatetrace
    95.  
      importtrace
    96.  
      jbpSA
    97.  
      jnbSA
    98.  
      ltid
    99.  
      manageClientCerts
    100.  
      mklogdir
    101.  
      nbauditreport
    102.  
      nbcatsync
    103.  
      NBCC
    104.  
      NBCCR
    105.  
      nbcertcmd
    106.  
      nbcertupdater
    107.  
      nbcldutil
    108.  
      nbcloudrestore
    109.  
      nbcomponentupdate
    110.  
      nbcplogs
    111.  
      nbdb_admin
    112.  
      nbdb_backup
    113.  
      nbdb_move
    114.  
      nbdb_ping
    115.  
      nbdb_restore
    116.  
      nbdb_unload
    117.  
      nbdbms_start_server
    118.  
      nbdbms_start_stop
    119.  
      nbdc
    120.  
      nbdecommission
    121.  
      nbdelete
    122.  
      nbdeployutil
    123.  
      nbdevconfig
    124.  
      nbdevquery
    125.  
      nbdiscover
    126.  
      nbdna
    127.  
      nbemm
    128.  
      nbemmcmd
    129.  
      nbfindfile
    130.  
      nbfirescan
    131.  
      nbftadm
    132.  
      nbftconfig
    133.  
      nbgetconfig
    134.  
      nbhba
    135.  
      nbholdutil
    136.  
      nbhostidentity
    137.  
      nbhostmgmt
    138.  
      nbhypervtool
    139.  
      nbimageshare
    140.  
      nbinstallcmd
    141.  
      nbjm
    142.  
      nbkmsutil
    143.  
      nboraadm
    144.  
      nborair
    145.  
      nbpem
    146.  
      nbpemreq
    147.  
      nbperfchk
    148.  
      nbplupgrade
    149.  
      nbrb
    150.  
      nbrbutil
    151.  
      nbregopsc
    152.  
      nbreplicate
    153.  
      nbrepo
    154.  
      nbrestorevm
    155.  
      nbseccmd
    156.  
      nbsetconfig
    157.  
      nbsnapimport
    158.  
      nbsnapreplicate
    159.  
      nbsqladm
    160.  
      nbstl
    161.  
      nbstlutil
    162.  
      nbstop
    163.  
      nbsu
    164.  
      nbsvrgrp
    165.  
      resilient_clients
    166.  
      restoretrace
    167.  
      stopltid
    168.  
      tl4d
    169.  
      tl8d
    170.  
      tl8cd
    171.  
      tldd
    172.  
      tldcd
    173.  
      tlhd
    174.  
      tlhcd
    175.  
      tlmd
    176.  
      tpautoconf
    177.  
      tpclean
    178.  
      tpconfig
    179.  
      tpext
    180.  
      tpreq
    181.  
      tpunmount
    182.  
      verifytrace
    183.  
      vltadm
    184.  
      vltcontainers
    185.  
      vlteject
    186.  
      vltinject
    187.  
      vltoffsitemedia
    188.  
      vltopmenu
    189.  
      vltrun
    190.  
      vmadd
    191.  
      vmchange
    192.  
      vmcheckxxx
    193.  
      vmd
    194.  
      vmdelete
    195.  
      vmoprcmd
    196.  
      vmphyinv
    197.  
      vmpool
    198.  
      vmquery
    199.  
      vmrule
    200.  
      vmupdate
    201.  
      vnetd
    202.  
      vssat
    203.  
      vwcp_manage
    204.  
      vxlogcfg
    205.  
      vxlogmgr
    206.  
      vxlogview
    207.  
      W2KOption

Name

bptpcinfo — discover SAN devices and creates 3pc.conf file

SYNOPSIS

bptpcinfo [-a] [-c] [-h] [-u] [-r] [-v] [-d disk_device_directory] [-t tape_device_directory] [-p physical_device] [-o output_file_name] [-o -]

The directory path to this command is /usr/openv/netbackup/bin/

DESCRIPTION

This command operates only on UNIX systems.

The bptpcinfo command discovers all the disk and the tape devices on Fibre Channel and SCSI connections. It provides information about each device (one line per device). By default, this command writes the information to the following file:

  /usr/openv/volmgr/database/3pc.conf

Note:

For off-host backup (Third-Party Copy Device or NetBackup media server backup methods), a 3pc.conf file must exist at /usr/openv/volmgr/database.

At the start of a backup, using the Third-Party Copy Device or NetBackup media server method, NetBackup automatically runs this command to create the 3pc.conf file if the file does not already exist. This file is complete and you do not need to rerun this command if any of the following is true:

  • The backup uses the NetBackup media server backup method.

  • You use the Third-Party Copy Device backup method and all required devices (such as disks, tapes, and third-party copy devices) support identification descriptors.

If any of the devices does not support identification descriptors, run the bptpcinfo command manually to create the 3pc.conf file. Then edit the file as explained in the SAN Configuration chapter of the NetBackup Snapshot Client Administrator's Guide.

OPTIONS

-a

Discovers all the disk and the tape devices on the Fibre Channel and SCSI connections. It adds entries in the 3pc.conf file (or alternate output file that is specified with the -o option). The -a option lists all devices in /dev/rdsk and /dev/rmt.

-c

Checks for syntax errors in an already existing 3pc.conf file (in /usr/openv/volmgr/database). If the 3pc.conf file does not exist, a message states that it cannot open the file. In that case, use other command options to create the file. Note that if -c is specified, any other options are ignored.

The -c option checks for syntax errors such as the following: missing spaces between entries, missing keywords (such as a worldwide name without "w="), or a worldwide name that is not 16 digits in length. Any such errors can cause the backup to fail.

-h

Displays the bptpcinfo usage statement.

-u

Discovers all the disk devices and the tape devices on the Fibre Channel and SCSI connections. It also adds entries in the 3pc.conf file (or alternate the output file that is specified with the -o option) for new devices that are found. If the 3pc.conf file does not exist, the -u option fails (use -a instead).

Note:

To remove obsolete entries, use -r instead of -u. (The -u and -r options cannot be used together.)

-r

Removes any obsolete entries in the 3pc.conf file (or the alternate output file that is specified with the -o option). An obsolete entry is one that no longer corresponds to any devices on the Fibre Channel or SCSI connections.

Note:

The -r option does not add entries to the 3pc.conf file for new or reconfigured devices. To add entries, use the -u option. (The -u and -r options cannot be used together.)

-v

Specifies the verbose mode, which causes bptpcinfo to list information on its discovery progress. The information is written to the screen, not to the 3pc.conf file.

You can select the -v option to track problems in device discovery.

-d disk_device_directory

Discovers all disks in the specified directory (usually /dev/rdsk on Solaris or Hewlett Packard Enterprise, and /dev on AIX) and creates new entries in the 3pc.conf file. Or, it creates new entries in the alternate output file that is specified with the -o option by overwriting any current entries.

To avoid overwriting the 3pc.conf file, use the -d option with the -u option. When -d and -u are combined, the new disk entries are added to the existing entries.

-t tape_device _directory

Discovers all tape drives in the specified directory (usually /dev/rmt on Solaris or Hewlett Packard Enterprise, and /dev on AIX) and creates new entries in the 3pc.conf file. Or, it creates new entries in the alternate output file that is specified with the -o option by overwriting any current entries.

To avoid overwriting the 3pc.conf file, use the -t option with the -u option. When -t and -u are combined, the new tape entries are added to the existing entries.

-p physical_device

Creates an entry for a physical device in the 3pc.conf file, if the specified device is discovered. Or, it creates new entries in the alternate output file that is specified with the -o option by overwriting any current entries.

To avoid overwriting the 3pc.conf file, use the -p option with the -u option. When -p and -u are combined, the new entry is added to the existing entries.

-o output_file_name

-o specifies an alternate (usually temporary) path for the bptpcinfo command output. If this option is not specified, the default is /usr/openv/volmgr/database/3pc.conf.

-o -

Sends the output to the screen. Note the space before the second hyphen.

EXAMPLES

Example 1 - Discover all the source and the destination devices on the SAN and create the required 3pc.conf file in /usr/openv/volmgr/database.

# bptpcinfo -a

Example 2 - Discover all the source and the destination devices on the SAN, and send the output to the screen.

# bptpcinfo -a -o -

Sample output:

devid [p=devpath]  [s=sn] [n=npid] [l=lun] [w=wwpn] [i=iddesc]
1     p=/dev/rdsk/c1t11d3s2   s=SEAGATE:ST19171N:LAE82305 l=3
2     p=/dev/rdsk/c1t13d4s2   s=SEAGATE:ST19101W:NH022724 l=4
3     p=/dev/rdsk/c1t20d0s2   s=HITACHI:OPEN-9:60159003900 l=0
4     p=/dev/rdsk/c1t20d1s2   s=HITACHI:OPEN-9:60159000000 l=1
5     p=/dev/rdsk/c1t20d2s2   s=HITACHI:OPEN-9:60159000100 l=2
6     p=/dev/rdsk/c1t20d3s2   s=HITACHI:OPEN-9-CM:60159001C00 l=3
7     p=/dev/rdsk/c1t20d4s2   s=HITACHI:OPEN-9:60159002B00 l=4
8     p=/dev/rdsk/c1t20d5s2   s=HITACHI:OPEN-9:60159002C00 l=5

Example 3 - Discover the devices in the /dev/rmt directory (/dev on AIX) and send the output to the screen:

On Solaris or Hewlett Packard Enterprise:

# bptpcinfo -t /dev/rmt -o -

Sample output:

devid [p=devpath]     [s=sn]  [n=npid]      [l=lun] [w=wwpn] [i=iddesc]
0     p=/dev/rmt/0cbn  s=QUANTUM:DLT8000:CX949P0164  l=1 i=10200E09E6000000868
1     p=/dev/rmt/1cbn  s=QUANTUM:DLT8000:CX949P1208  l=2 i=10200E09E6000001381
2     p=/dev/rmt/4cbn  s=QUANTUM:DLT8000:CX940P2790  l=2 i=1031000005013E000D3
3     p=/dev/rmt/7cbn  s=QUANTUM:DLT7000:TNA48S0267  l=1
4     p=/dev/rmt/19cbn s=QUANTUM:DLT8000:PKB02P0989  l=1 i=10200E09E6000030C36
5     p=/dev/rmt/20cbn s=QUANTUM:DLT8000:PKB02P0841  l=2 i=10200E09E6000030DC5

On AIX:

# bptpcinfo -t /dev -o -

Sample output:

devid [p=devpath]     [s=sn]  [n=npid]      [l=lun] [w=wwpn] [i=iddesc]
0 p=/dev/rmt0.1 s=STK:L20:LLC02203684           l=1
1 p=/dev/rmt5.1 s=QUANTUM:DLT8000:CXA49P1113    l=1  i=10200E09E6000034A57
2 p=/dev/rmt6.1 s=QUANTUM:DLT8000:PXB13P4180    l=2  i=10200E09E600004B70B
3 p=/dev/rmt7.1 s=STK:9840:331002059900         l=4  i=103500104F0004817E5
4 p=/dev/rmt9.1 s=QUANTUM:DLT8000:PXB33P0850    l=9  i=1036005013000B0526942333350
5 p=/dev/rmt10.1 s=QUANTUM:DLT8000:CX949P1208   l=10 i=1036005013000B0526939343950

Example 4 - Create a 3pc.conf file that describes all devices on the SAN, and send the output to an alternate file:

# bptpcinfo -a -o /usr/openv/volmgr/database/3pc_alt1.conf

NOTES

Note the following items when you use the bptpcinfo command:

  • Run the bptpcinfo command when no backups are in progress. If a backup operation uses or reserves a device, bptpcinfo may be unable to obtain information on it. It omits such a device from the output.

  • If you do not want to overwrite the existing 3pc.conf file, include the -o option and specify the wanted location.

  • If you have a host that runs Veritas SANPoint Control, do the following: Use the bpSALinfo command to add the worldwide name and LUN values for each device in the 3pc.conf file. If you do not have SANPoint Control, you must edit the new entries in the 3pc.conf file. To edit, manually add the worldwide name WWPN) and LUNs for each device.

    For more about SAN Configuration, see the NetBackup Snapshot Client Administrator's Guide.

FILES

/usr/openv/volmgr/database/3pc.conf