Veritas NetBackup™ Commands Reference Guide

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