1、查看slot中的磁带robtest 1 s s 将带子从驱动器的移走m d驱动器号 s槽号9查找某一盘磁带在MASTER上 vmquery m media_id10测试IBM磁带库lsdev Cc tapetapeutil 1 /dev/rmt111查看某个时间段的备份情况bpimagelist U d 08/20/2004 00:00:00 e 08/21/2004 00:00 12查看备份策略bpplist 13通过bpps a 确认veritas进程(SAN Media)已停止netstat |grep bpcd 查看bpcd监听进程(client) 14.UP驱动器或重启驱动器vmop
2、rcmd up no.vmoprcmd reset no.15.将带子从pool中移走bpexpdate m media_id d 0 host hostnameNetbackup TipsGlossaryTermDefinitionCLICommand Line InterfaceGUIGraphical User InterfaceMedia ServerMaster ServerStarting and Stopping NetbackupStopping Netbackup /usr/openv/netbackup/bin/K77netbackup - graceful shutdow
3、n /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 necessarily graceful kill -9 for any remaining.NOTE:unkillable processes may require a reboot Starting Netbackup /usr/openv/netbackup/bin/S7
4、7netbackup after bp.kill_all, to restart Common TasksStarting 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
5、 the drive name to be cleaned o tpclean -L Manually clean the drive:o tpclean -C Determining what tapes were used for a backup GUI o Backup and Restore - Find the file system - Preview Media Button CLI o Find the correct backup images bpimagelist -U -client -d -e o Find the media used for those imag
6、es -media Listing the files in a backupFind the tape(s) used (above procedure using bpimagelist)cd /usr/openv/netbackup/db/jobs/doneRun the following script and redirect its output to a text file:for file in grep MOUNTING *|grep |awk print $1|sed s/:MOUNTING/doecho $filegrep PATH_WRITTEN $file|awk p
7、rint $3echo =End of Image=doneThis process works for NBU V3.4: cd /usr/openv/netbackup/db/images/ ls -ltrthis will identify the directory with the proper date verify directory with bpdbm -ctime cd lists all of the backups for this client on this date cat _.f | awk print $10 this prints out the files
8、 in the backup For 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_type is tld, acs, . . .) Inventory Robot and Update Configuration -/opt/op
9、env/volmgr/bin/vmupdate -rt robot_type -rn robot_number -listListing Properties of the Volume Pools vmpool -listall Scratch Tapes Count scratch tapes:/usr/openv/volmgr/bin/vmquery -pn Scratch | grep -c robot slot Moving tapes to the scratch pool o If Needed - Expire the tape bpexpdate -ev -d 0 -forc
10、e -host o Move the tape vmchange -p 2 -m Checking Drive Usage /usr/openv/volmgr/bin/vmoprcmd Taking a drive down or up /usr/openv/volmgr/vmoprcmd -down /usr/openv/volmgr/vmoprcmd -up configuration - client client to restore o directory to search o directory depth o date range o file - browse backups
11、 for restore Adding New Tapes to the Library Using the GUI o Media Management - Actions - New - Single Volume . .o Media Type (ie DLT) o Robot Type (ie TLD) o Media ID (from Inventory) o Slot Number (from Inventory) o Robot Number (ie 0) o Volume Group o Volume Pool (ie Scratch) Using the CLI o vmadd -m -mt -verbose -rt -b -rn -rc1 -p -mm vmpool -listall lists all pools,
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1