Netbackup Tips on UN*X machines
1.2 log directories must be monitored. /usr/openv/logs(Low level logs), /usr/openv/netbackup/logs. These logs can get very big.
2. The partiton where netbackup is installed must not be 100% full, or netbackup will basicaly stop functioning.
3.If dns does not work and there are no records on /etc/hosts netbackup will again stop functioning and netbackup will need to restart to be able to work again.
4. Some commands for troubleshooting:
a. /usr/openv/netbackup/bin/bpclntcmd -hn client_name
Returns client_name’s ip address if netbackup can do a successful lookup.
b. /usr/openv/netbackup/bin/bpclntcmd -hn client_ip_address
Returns client’s address, if netbackup can do a successfull reverse dns lookup
c. /usr/openv/netbackup/bin/bpexpdate -m 00m4l3 -d 0
Allows you to expire a media when needed.
d.bpstulist
Will show you all drives and hosts connected to master server
e. /usr/openv/volmgr/bin/tpautoconf -a
Will scan all local device on media manager.
f. /usr/openv/volmgr/bin/vmoprcmd
Shows information about your media servers.
g. /usr/openv/netbackup/bin/admincmd/bpmedialist -rl 1
Shows info about media that’s available, full, expired or other.
h. /usr/openv/netbackup/bin/admincmd/bpmedia -unfreeze -m 06m03l3
Unfreezes a media.
i. /usr/openv/volmgr/bin/vmupdate -rt tld -rn 1 -full [-interactive] -use_barcode_rules
Inventory a robot.
j. /usr/openv/netbackup/bin/bpmedialist -rl 1
List which disks are expired, full or available. (-rl used for retention level. 1 means retention of 2 weeks)
k. /usr/openv/netbackup/bin/bpps -x
All running netbackup processes are listed
l. /usr/openv/netbackup/bin/goodies/available_media
All media and its states are listed. The script runs other commands and formats the outputs to a usable format.
m. /usr/openv/netbackup/bin/admincmd/bpdbjobs
Activity monitor.
n. bplabel -ev media_id_number -d <tape density> -p Pool_Name
Label a media with “media_id_number” in pool “Pool_Name”.
o. bpimmedia -mediaid 0m0687 -L
List images on a tape with media id 0m0687
p. vmdelete -m 000687
Delete a media from netbackup emm database