Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword
Like this
8Activity
×
0 of .
Results for:
No results containing your search query
P. 1
Netbackup Tips(Everything Including Robtest))

Netbackup Tips(Everything Including Robtest))

Ratings: (0)|Views: 1,588|Likes:
Published by amsreeku

More info:

Published by: amsreeku on Jul 06, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less

02/21/2013

pdf

text

original

 
Netbackup TipsGlossaryStarting and Stopping Netbackup
Stopping Netbackup
 
 /usr/openv/netbackup/bin/K77netbackup --> graceful shutdown
 /usr/openv/netbackup/bin/bpps -a --> check for any remaining processes
 /usr/openv/netbackup/bin/goodies/bp.kill_all ---> kills all remaining netbackup processes, not necessarilygraceful
 /usr/openv/netbackup/bin/bpps -a --> check for any remaining processes
kill -9 <pid> for any remaining. NOTE: unkillable processes may require a reboot
Starting Netbackup
 
 /usr/openv/netbackup/bin/S77netbackup --> after bp.kill_all, to restart
Common Tasks
Starting the Administration GUI
 
 java from the windows client
x-windows from the server - /usr/openv/netbackup/bin/xnb &
Checking Backup Status
Activity Monitor or
 /usr/openv/netbackup/bin/admincmd/bpdbjobs -report
Cleaning a tape manually
 
Identify the drive name to be cleaned
tpclean -L
Manually clean the drive:
tpclean -C <drive name>
Determining what tapes were used for a backup
 
GUI
Term Definition
CLI Command Line InterfaceGUI Graphical User InterfaceMedia ServerMaster ServerPage 1 of 8Netbackup Tips for the System Administrator7/6/2010file://H:\study\netbackup\Upload_site_done\done\New Folder\Netbackup Tips(Everything including robtest)...
 
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
Listing the files in a backup
 Find the tape(s) used (above procedure using bpimagelist)cd /usr/openv/netbackup/db/jobs/doneRun 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//'`doecho $filegrep PATH_WRITTEN $file|awk '{print $3}'echo " "echo "==========================================End of Image======================================"echo " "doneThis process works for NBU V3.4:
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 backupFor NBU > V3.4
bpflist --help --> undocumented netbackup command to list files from a binary .f file
Inventory the Robot
Inventory Robot --> /opt/openv/volmgr/bin/vmcheckxxx -rt robot_type -rn robot_number -list (where robot_typeis 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, . . .)
Listing Properties of the Volume Pools
 
vmpool -listallPage 2 of 8Netbackup Tips for the System Administrator7/6/2010file://H:\study\netbackup\Upload_site_done\done\New Folder\Netbackup Tips(Everything including robtest)...
 
Scratch Tapes
 
Count scratch tapes: /usr/openv/volmgr/bin/vmquery -pn Scratch | grep -c "robot slot"
Moving tapes to the scratch pool
If Needed - Expire the tape
bpexpdate -ev <TAPE ID> -d 0 -force -host <Media Manager>
Move the tape
vmchange -p 2 -m <TAPE ID>
Checking Drive Usage
 
 /usr/openv/volmgr/bin/vmoprcmd
Taking a drive down or up
 
 /usr/openv/volmgr/vmoprcmd -down <drive index>
 /usr/openv/volmgr/vmoprcmd -up <drive index>
Performing a Restore
 
From the GUI
user backup & restore --> configuration --> client
user backup & restore --> configuration --> client to restore
directory to search
directory depth
date range
file --> browse backups for restore
Adding New Tapes to the Library
 
Using the GUI
Media Management --> Actions --> New --> Single Volume . . -->
Media Type (ie DLT)
Robot Type (ie TLD)
Media ID (from Inventory)
Slot Number (from Inventory)
Robot Number (ie 0)
Volume Group
Volume Pool (ie Scratch)
Using the CLI
vmadd -m <media id> -mt <tape type> -verbose -rt <robot type> -b <barcode> -rn <robot number> -rc1<slot> -p <pool number> -mm <max mounts>
vmpool -listall --> lists all pools, both name and number
For example:
vmadd -m 000151 -mt dlt -verbose -rt tld -b 000151 -rn 0 -rc1 8 -p 2 -mm 0
 
Re-using Tapes from other systems or older Netbackups
Expire the media
bpexpdate -ev MEDIA_ID -d 0 -force -host HOSTPage 3 of 8Netbackup Tips for the System Administrator7/6/2010file://H:\study\netbackup\Upload_site_done\done\New Folder\Netbackup Tips(Everything including robtest)...

Activity (8)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
krsnagnani liked this
John Oliver liked this
santha kumar liked this
sasidharreddy liked this
a_nguyenviet liked this
iprambus liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->