Professional Documents
Culture Documents
Netbackup Tips
Glossary
Term Definition
CLI Command Line Interface
GUI Graphical User Interface
Media Server
Master Server
Stopping Netbackup
Starting Netbackup
Common Tasks
• Activity Monitor or
• /usr/openv/netbackup/bin/admincmd/bpdbjobs -report
• GUI
o Backup and Restore --> Find the file system --> Preview Media Button
• CLI
o Find the correct backup images
bpimagelist -U -client <CLIENT> -d <STARTDATE> -e <ENDDATE>
o Find the media used for those images
bpimagelist -U -client <CLIENT> -d <STARTDATE> -e <ENDDATE> -media
• cd /usr/openv/netbackup/db/images/<CLIENT>
• ls -ltr --> this will identify the directory with the proper date
• verify directory with "bpdbm -ctime <Unixtime>
• cd <Unixtime>
• ls -ltr --> lists all of the backups for this client on this date
• cat <POLICY>_<Unixtime>_<BU Type>.f | awk '{print $10}' --> this prints out the files in the backup
• bpflist --help --> undocumented netbackup command to list files from a binary .f file
• Inventory Robot --> /opt/openv/volmgr/bin/vmcheckxxx -rt robot_type -rn robot_number -list (where
robot_type is tld, acs, . . .)
• Inventory Robot and Update Configuration --> /opt/openv/volmgr/bin/vmupdate -rt robot_type -rn
robot_number -list (where robot_type is tld, acs, . . .)
Netbackup Tips
• vmpool -listall
Scratch Tapes
• /usr/openv/volmgr/bin/vmoprcmd
Performing a Restore
vmpool -listall --> lists all pools, both name and number
o For example: vmadd -m 000151 -mt dlt -verbose -rt tld -b 000151 -rn 0 -rc1 8 -p 2 -mm 0
To expire media
To unfreeze media
To relabel a tape
o vmquery -deassignbyid <media id> <pool number> <status code from vmquery -m>
o vmquery -deassignbyid 000687 4 0x0
• Delete the tape
o vmdelete -m 000687
• Create /usr/openv/netbackup/exclude_list
• Put the file specifications of the files/directories to be excluded
o /mnt/directory/*
Robtest Commands
• Starting robtest
o robtest
o 1 --> to select TLD 0
• Getting help
o ?
• Looking at contents of the tape drives
o sd
• Looking at the contents of the library
o ss
• Moving a tape from a drive to a library slot
o s d --> to identify drive number that has tape (Contains Cartridge = yes, Barcode=XXXXXX)
o s s --> to identify an empty slot in the tape library (Netbackup will need to be re-inventoried)
o m d# s# --> from from drive # to slot #
o s d --> verify the tape drive is empty
o s s --> verify the library slot has the tape
Configuration Files
Netbackup Tips
/usr/openv/netbackup/bp.conf
/usr/openv/volmgr/vmconf
Logfiles
Media Manager logging automatically goes to the system log using syslogd logging facility
Netbackup Tips
.Logging will only occur if these directories are created. These directories will generate a lot of data and should
be deleted when no longer necessary.
Processes
ltid
acsd
vmd
Useful Commands
Troubleshooting
• Check for a hardware problem by looking for messages on the tape library
• Make sure there is not a tape stuck in the drive
o Use robtest (described above) to look at the drives
If there is a tape stuck in the drive, try to remove it using robtest
Netbackup Tips
• bpclncmd -ip <ip address> --> from both client and server
• bpclntcmd -hn <hostname> --> from both client and server
• bpclntcmd -pn --> from client only
Device Actions
• dlt
• hcart (ultrium)
Media Actions
Netbackup Client
/usr/openv/netbackup/bin/bpclntcmd -pn
/usr/openv/netbackup/bin/bpclntcmd ip "ip_address"
One of these usually fails and your able to fix it right off
Must be able to resolve correctly from the master server and the client or it will not work!!!