Netbackup Tips

Glossary

Term
Definition
CLI
Command Line Interface
GUI
Graphical User Interface
Media Server

Master Server


Starting and Stopping Netbackup

Stopping Netbackup
Starting Netbackup

Common Tasks

Starting the Administration GUI
Checking Backup Status
Cleaning a tape manually
Determining what tapes were used for a backup
Listing the files in a backup

Find the tape(s) used (above procedure using bpimagelist)
cd /usr/openv/netbackup/db/jobs/done
Run the following script and redirect it's output to a text file:
        for file in `grep MOUNTING *|grep <MEDIA_ID>|awk '{print $1}'|sed 's/:MOUNTING//'`
        do
        echo $file
         grep PATH_WRITTEN $file|awk '{print $3}'
        echo " "
        echo "==========================================End of Image======================================"
        echo " "
        done


This process works for NBU V3.4:

For NBU > V3.4


Inventory the Robot
Listing Properties of the Volume Pools
Scratch Tapes
Checking Drive Usage
Taking a drive down or up

Performing a Restore
Adding New Tapes to the Library
Re-using Tapes from other systems or older Netbackups
Changing the attributes of media

To expire media
To unfreeze media
To relabel a tape
To remove media from the Netbackup database

Installing the Netbackup Client
Excludng files from backup on a client
Displaying Information about a Tape

Robtest Commands



Configuration Files

/usr/openv/netbackup/bp.conf
/usr/openv/volmgr/vmconf

Logfiles

To utilize logfiles, create the corresponding directory in /usr/openv/netbackup/logs

Server Logfile directories:
Client Logfile directories:
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.

To increase the amount of logging information set VERBOSE=2 in /usr/open/netbackup/bp.conf  (default is VERBOSE=1)

Processes

ltid
acsd
vmd


Useful Commands


bpcllist - list classes
bpclinfo <class> -L   --> displays info about a class
vmpool - volume pools
vmpool -listall
vmpool -listscratch
bplabel -ev <media id> -d hcart
bpbackup db  --> backs up the catalog
bpclclients <policy>  --> lists the clients for a particular policy (class)

Troubleshooting

bperror -statuscode   <-- displays information about the  netbackup error.

No Backups are running:
Downed drive does not come back up or does not stay up
Verify the Client is communicating properly:

Device Actions

Device Management --> info about tape drives

Media Actions

Media id must agree with # of the tape
Create a media id

Netbackup Client


To check things out do this:

It could be a couple things.  Mostly DNS, bp.conf, or something stupid.  On
the client run this command

/usr/openv/netbackup/bin/bpclntcmd -pn

/usr/openv/netbackup/bin/bpclntcmd -server "server name"

/usr/openv/netbackup/bin/bpclntcmd ip "ip_address"


One of these usually fails and your able to fix it right off


1074  ./bpclntcmd -hn corpbu1
 1075  ./bpclntcmd -ip 10.194.1.129
 1076  ping 10.194.1.129
 1077  ./bpclntcmd -hn corpldv1
 1078  ./bpclntcmd -hn corpbu1.corporate.vox.net
 1079  ping corpldv1
 1080  ./bpclntcmd -ip 10.194.1.120


Must be able to resolve correctly from the master server and the client or it will not work!!!