Netbackup Tips (Everything Including Robtest) )
Netbackup Tips (Everything Including Robtest) )
Netbackup Tips (Everything Including Robtest) )
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
Backup and Restore --> Find the file system --> Preview Media Button
CLI
Find the correct backup images
bpimagelist -U -client <CLIENT> -d <STARTDATE> -e <ENDDATE>
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, . . .)
vmpool -listall
Scratch Tapes
/usr/openv/volmgr/bin/vmoprcmd
Performing a Restore
To expire media
To unfreeze media
To relabel a tape
Create /usr/openv/netbackup/exclude_list
Put the file specifications of the files/directories to be excluded
/mnt/directory/*
Robtest Commands
Starting robtest
robtest
1 --> to select TLD 0
Getting help
?
Looking at contents of the tape drives
s d
Looking at the contents of the library
s s
Moving a tape from a drive to a library slot
s d --> to identify drive number that has tape (Contains Cartridge = yes, Barcode=XXXXXX)
s s --> to identify an empty slot in the tape library (Netbackup will need to be re-inventoried)
m d# s# --> from from drive # to slot #
s d --> verify the tape drive is empty
s s --> verify the library slot has the tape
Configuration Files
/usr/openv/netbackup/bp.conf
/usr/openv/volmgr/vmconf
Logfiles
Media Manager logging automatically goes to the system log using syslogd logging facility
.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
Use robtest (described above) to look at the drives
If there is a tape stuck in the drive, try to remove it using robtest
If robtest fails, then you must manually remove it.
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!!!