The tar used by Netbackup is GNU tar and is located in /usr/openv/netbackup/bin.
To allow a client to restore from another client.
To allow ALL/ANY client to restore from any other client. Note: This is a security hole.
Note: A tape/media can have multiple states at one time. i.e. "ACTIVE & MPX"
| Media State | Reason | Method to Change |
| FULL | At Capacity | bpexpdate or GUI |
| SUSPENDED | Errors | bpmedia |
| FROZEN | Format | bpmedia/bplabel ALLOW_MEDIA_OVERWRITE |
| IMPORTED | From another cluster/refresh |   |
| ACTIVE | Current images | bpexpdate or GUI |
| AVAILABLE | Tape is currently unassigned |   |
| MPX | Tape contains multiplexed backups |   |
| DBBACKUP | Tape contains Netbackup catalog |   |
Log directories must exist before the process starts for logging to occurr.
The processes in the following table need to have a directory created using their name in /usr/openv/netbackup/logs BEFORE they are started for logging to occurr.
Note: The Media Manager logs vmd (/usr/openv/volmgr/debug/daemon) and process requests daemon (/usr/openv/volmgr/daemon/reqlib).
* highlights that these are not exactly processes, but directories and these directories should NEVER be deleted.
Jobs stuck in queue:
Tape mounts listed by files:
Netbackup Programs and Services/Daemons - Functional Areas
bparchive -class NAME
Logging
Levels of logging can be changed by:
Activity Logs: A new log is created daily, kept for 28 days (default). File
anme log.mmddyy.
Process Logs: filename mmddyy.log.
Note: some daemons have a '-verbose' option.
Activity Logs Locations
Media, robotic, network, and devices output via syslog to /var/adm/messages.
Process
Master Server
Media Server
Client
bprd
X
 
 
bpdbm
X
 
 
bpsched
X
 
 
bpjobd
X
 
 
bpcd
 
X
X
bpdrm
 
X
 
bptm
 
X
 
bpdm
 
X
 
admin *
X
X
X
bpbkar
 
 
X
user_ops *
X
X
X
Troubleshooting
If jobs complete with status code of 96, 213, or 219:
Verify that Media Type = Drive type = Storage Unit Robot Type.
Check that the settings for the polichy are correct;also ensure that the specified Storage Unit is set up properly.
$NETBACUPHOME/db/media/tpreq
Bp.conf settings
/usr/openv/netbackup/bp.conf settings
VERBOSE
Daemons & Processes
 
Master Server
Media Server
Client
Netbackup Arena
Daemons
bprd, bpdbm, nbdbd, bpjobd
 
 
Processes
bpsched, start_nbdbd
bpcd, bpbrm, bptm
bpcd, bpbkar
Databases
Class, Config, Jobs, Images, Error, Client
Media
 
Media Manager
Daemons
vmd
ltid, txxd, txxcd, avrd, vmd
 
Processes
 
tpreq, tpunmount
 
Databases
Volume, Volume Pool
Device
 
Process Name
Function
Activated By
Activates/Invokes
Description
bprd
Request Daemon
N/A (daemon)
bpsched (periodially)
Listens for, and responds to, client requests
bpsched
Scheduler
bprd
bpdbm, bpcd (media server)
Checks policy configureations (through bpdbm)
for scheduled client backups (if a backup is due,
it commands bpcd to activate bpbrm).
bpdbm
Netbackup Database Manager
bpsched
bpjobd
Maintains Netbackup catalogs.
bpjobd
Job Monitor
bpdbm (primarily),
but other functions
invoke it as wellnone
Performs queries and updates of the jobs database.
MASTER MEDIA CLIENT
NBU Mgt Infc
(nbconsole.exe)
| +--------------+
v | nbinw.exe, bp|
bprd<--------------------------------------------| jbpSA, xbp |
^ | bpbackup |
(metadata) | +--------------+
+-----+ |
| | |
| | | +--->bpcd---+
| | | | |
| | v v |
bpdbm<-->bpsched<------------->(bp)inetd bprm
^ ^ ^ ^^
| | | (metadata) ||
| | +--------------------------------+|
| | |
| +-----------+ |
v | |
bpjobd | |
| v |
| +----------+ +---------+ |
| | CATALOGS | | media | |
| |----------| | catalog | |
| | -class | +---------+ |
| | -config | ^ v
| | -image | +----------->bptm
| | -error | |
| | -------- | +-------+ |
+------->| -jobs | | o o |<--------+
+----------+ +-------+
Commands
NBU Command
Path
Action
User Commands
bparchive /test
/usr/openv/netbackup/bin
Invoke a user archive of all files in /test.
bpbackup /test
/usr/openv/netbackup/bin
Invoke a user backup of all files in /test.
jbpSA
/usr/openv/netbackup/bin
Opens netbackup user interface.
Admin Commands
available_media
/usr/openv/netbackup/bin
List library media, slots, and state.
bpbackup -p test -s full -i -h somehost -t 13
/usr/openv/netbackup/bin
Invoke a manual backup using the schedule full of the poilcy called test
on host somehost.
bpbackupdb -m XXXXXX
/usr/openv/netbackup/bin
Use alternate media XXXXXX to backup Netbackup catalogs.
bpduplicate -hoursago 24 -dp duplicate -dstunit stu3
/usr/openv/netbackup/bin
Duplicate all backups done in the last 24 hours to the duplicates volume pool on storage unit stu3.
bpclntcmd [-pn, -sv]
/usr/openv/netbackup/bin
-pn: Run on client to list master connection and sockets
-sv: Lists NBU version
bpexpdate -m MEDIA_ID -d 0
bpexpdate -recalculate -backupid BACKUP_ID -ret 2/usr/openv/netbackup/bin/admincmd
Expires all images on a volume (tape)
Modify the expiration of the b ackup ID to retention level 2
bpimport -create_db_info -id XXXXXX -server servername -L /tmp/mylog
bpimport -Bidfile /tmp/import/images -L /tmp/mylog/usr/openv/netbackup/bin
Create volume catalog entries for media and log the process in logfile.
Import the images listed in the bacukpID file
bplist -l -R /usr
/usr/openv/netbackup/bin
List recursively, in long format, the files that were backed up for the
/usr directory.
bpps -a
/usr/openv/netbackup/bin
Lists all NBU/MMGR daemons & processes.
bpmedia -ACTION -m MEDIA_ID [-h media_server]
ACTION: freeze, unfreeze, suspend, unsuspend/usr/openv/netbackup/bin/admincmd
Change media state.
bplabel -m MEDIA_ID -d DENSITY -p VOLUME_POOL -o
/usr/openv/netbackup/bin/admincmd
Write Netbackup label on the specified volume
bprestore -C client-name -D destination-name -L /tmp/mylog /work
/usr/openv/netbackup/bin
restore from client to client via the /work file list and log to /tmp.
bpverify -hoursago 8
/usr/openv/netbackup/bin
Verify all backsups performed in the last 8 hours
jnbSA
/usr/openv/netbackup/bin
Opens netbackup admin interface.
netbackup [start]
/usr/openv/netbackup/bin
Starts all NBU/MMGR daemons & processes.
netbackup stop
/usr/openv/netbackup/bin
Kills all NBU/MMGR daemons & processes.
tpclean -L
/usr/openv/volmgr/bin
Lists cleaning statistics.
robtest
  (m s2 d1 #moves media from slot to to drive 1)
  (s s #displays status of all slots)
  (s d 1 #displays status of drive 1) /usr/openv/netbackup/bin
Runs robotic test. Must be on media server, must exit when finished,
interferes with backups.
vmadd -m MEDIA_ID -mt dlt -b MEDIA_ID -rt tld -rn 0
/usr/openv/volmgr/bin
Add volume with barcode MEDIA_ID to TLD(0).
vmchange -p POOL_NUMBER -m MEDIA_ID
/usr/openv/volmgr/bin
Associate volume with another volume pool.
vmdelete -m MEDIA_ID
/usr/openv/volmgr/bin
Delete volume MEDIA_ID (all its images are lost).
vmcheckxxx -rt tld -rn 0
/usr/openv/volmgr/bin
Compare volumes in robot TLD(0) for mismatch.
vmcheckxxx -rt tld -rn 0 -list
/usr/openv/volmgr/bin
Show contents of robot TLD(0).
vmupdate -rt tld -rn 0
/usr/openv/volmgr/bin
Update volume config for robot TLD(O).
vmquery -a
/usr/openv/volmgr/bin
Lists all volume info for volume database.
vmpool -listall -b
/usr/openv/volmgr/bin
Lists all pools configures on master.
Command changes from 3.4 to 4.5
bparchive -policy NAME
   -t class TYPE
   -t policy TYPE
old 3.4 command
new 4.5 command
bpclassnew
bppolicynew
bpclclients
bpplclients
bpcldelete
bppldelete
bpclexclude
bpplexclude
bpclinfo
bpplinfo
bpcllist
bppllist
bpclsched
bpplsched
bpclschedwin
bpplschedwin
bpcvalid
bppvalid