Netbackup Notes


I’ve kept a few notes, over time, as a reminder on using Netbackup.  Here’s my summary. It may be useful.

Using the GUI

Invoking the GUI from Solaris:

# /usr/openv/netbackup/bin/jnbSA
Performing a restore: From the GUI
  • user backup & restore –> configuration –> client to restore * d
  • user backup & restore –> configuration –> client
  • directory to search
  • directory depth
  • date range
  • file –> browse backups for restore

Command Line Operations

Why click and point when you can type?

Log Files

Restore logs are found on the master server at:



List running Netbackup processes:

  # /usr/openv/netbackup/bin/bpps -a

List Job Status

  # /usr/openv/netbackup/bin/admincmd/bpdbjobs -report
| bppllist | List policy information: clients, schedules | bppllist -allpolicies |
| bpplinfo | List information about policy | bpplinfo POLICY |

List backed up files:

  # bplist -C  -R -l -s 08/20/2008 /

Clean drive:

  # tpclean -L
  # tpclean -C

Query backup of client:

  # bpimagelist -U -client -d -e \
           [-media]  (to obtain tape name)

Drive usage:

  # /usr/openv/volmgr/bin/vmoprcmd

View tape status:

# /usr/openv/netbackup/bin/goodies/available_media

Inventory jukebox

  # /usr/openv/volmgr/bin/vmcheckxxx -rt tld -rn 1 -list
  # /usr/openv/volmgr/bin/vmupdate -rt tld -rn 1 -full -use_barcode_rules

Backup the catalogue:

  # bpbackup db

From client, confirm connectivity with Netbackup server:

  # /usr/openv/netbackup/bin/bpclntcmd -pn
  # /usr/openv/netbackup/bin/bpclntcmd -server "server name"
  # /usr/openv/netbackup/bin/bpclntcmd ip "ip_address"

Bring up drives:

  # /usr/openv/volmgr/bin/vmoprcmd
  # /usr/openv/volmgr/bin/vmoprcmd -up 0


All information:

  # /usr/openv/netbackup/bin/admincmd/bpdbjobs -report -all_columns
Output format:


9 0 9 49 47 1 0 0 35651584 /test/ddd 33188 root other 20 958143374 958143227 959788518

1. file sequence number in the backup image (starts at 1, a zero means this file is NOT in the image)
2. compressed size in bytes, plus 7 as safety margin (0=not compressed)
3. number of characters in the path name
4. number of characters in the files file line from the field *after* the path name to the end of the line
5. starting block of this file’s data in the backup image
6. in_image flag (0=not in image, 1=in image)
7. raw partition size in bytes (0=not a raw partition)
8. size of the file in GBytes (only set if the file is bigger than 2 GBytes, otherwise zero)
9. file system physical device number
10. path name
11. mode bits in decimal (convert to octal – see below)
12. owner
13. group
14. real size in bytes (as in on-disk inode)
15. last access time
16. last modification time
17. last inode modification time

Tape device information:

  # tpconfig -d

Index DriveName DrivePath Type Shared Status
***** ********* ********** **** ****** ******
0 SEAGATEULTRIUM06242-XX /dev/rmt/0cbn hcart No UP
TLD(0) Definition DRIVE=1
1 SEAGATEULTRIUM06242-XX /dev/rmt/1cbn hcart No UP
TLD(0) Definition DRIVE=2
2 HPUltrium1-SCSI0 /dev/rmt/2cbn hcart No UP
TLD(1) Definition DRIVE=1

Currently defined robotics are:
TLD(0) robotic path = /dev/sg/c2t0l0,
volume database host = if302
TLD(1) robotic path = /dev/sg/c4t0l0,
volume database host = if302

Excluding files from backup on a client:


 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>