ImageVerifierCode 换一换
格式:DOCX , 页数:20 ,大小:144.01KB ,
资源ID:11726068      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/11726068.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(NBU的备份和恢复图形篇.docx)为本站会员(b****4)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

NBU的备份和恢复图形篇.docx

1、NBU的备份和恢复图形篇NBU的备份和恢复(图形篇)Veritas常用命令: 1 查看当有运行的任务 bpdbjobs report | grep Active 2 停止任务 bpdbjobs cancel PID (包括主任务和子任务) 3 开始任务 bpbackup i p task_name(如bss_archive_backup) 4查看所有在用的驱动器和磁带 vmoprcmd h media_server_hostname 5查看pool所含的磁带(包括freeze) bpmedialist 6Freeze磁带 bpmedia freeze m media_id h media_se

2、rver_hostname bpmedia -h hostname |grep FROZEN 7查看error解释 bperror S media_id 8查看在驱动器的磁带 robtest 1 s d 查看slot中的磁带 robtest 1 s s 将带子从驱动器的移走 m d驱动器号 s槽号 9查找某一盘磁带 在MASTER上 vmquery m media_id 10测试IBM磁带库 lsdev Cc tape tapeutil 1 /dev/rmt1 11查看某个时间段的备份情况 bpimagelist U d 08/20/2004 00:00:00 e 08/21/2004 00:

3、00:00 12查看备份策略 bpplist 13通过bpps a 确认veritas进程(SAN Media)已停止 netstat |grep bpcd 查看bpcd监听进程(client) 14.UP驱动器或重启驱动器 vmoprcmd up no. vmoprcmd reset no. 15.将带子从pool中移走 bpexpdate m media_id d 0 host hostname CLI Command Line Interface GUI Graphical User Interface Media Server Master Server , /usr/openv/ne

4、tbackup/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 necessarily graceful , /usr/openv/netbackup/bin/bpps -a - check for any remaining processe

5、s , kill -9 for any remaining. NOTE: unkillable processes may require a reboot , /usr/openv/netbackup/bin/S77netbackup - after bp.kill_all, to restart , java from the windows client , x-windows from the server - /usr/openv/netbackup/bin/xnb & , Activity Monitor or , /usr/openv/netbackup/bin/admincmd

6、/bpdbjobs -report , Identify the drive name to be cleaned o tpclean -L , Manually clean the drive: o tpclean -C , 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 images , bpim

7、agelist -U -client -d -e -media Find the tape(s) used (above procedure using bpimagelist) cd /usr/openv/netbackup/db/jobs/done Run the following script and redirect its output to a text file: for file in grep MOUNTING *|grep |awk print $1|sed s/:MOUNTING/ do echo $file grep PATH_WRITTEN $file|awk pr

8、int $3 echo echo =End of Image= echo done This process works for NBU V3.4:, cd /usr/openv/netbackup/db/images/ , ls -ltr - this will identify the directory with the proper date , verify directory with bpdbm -ctime , cd , ls -ltr - lists all of the backups for this client on this date , cat _.f | awk

9、 print $10 - this prints out the files in the backup For NBU V3.4 , 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 an

10、d Update Configuration - /opt/openv/volmgr/bin/vmupdate -rt robot_type -rn robot_number -list (where robot_type is tld, acs, . . .) , vmpool -listall , 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

11、 , bpexpdate -ev -d 0 -force -host o Move the tape , vmchange -p 2 -m , /usr/openv/volmgr/bin/vmoprcmd , /usr/openv/volmgr/vmoprcmd -down , /usr/openv/volmgr/vmoprcmd -up , From the GUI o user backup & restore - configuration - client o user backup & restore - configuration - client to restore o dir

12、ectory to search o directory depth o date range o file - browse backups for restore , 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 V

13、olume Pool (ie Scratch) , Using the CLI o vmadd -m -mt -verbose -rt -b -rn -rc1 -p -mm , vmpool -listall - lists all pools, both name and number o For example: , Expire the media o bpexpdate -ev MEDIA_ID -d 0 -force -host HOST , Deassign the media o vmquery -deassignbyid MEDIA_ID 4 0 , Move to the s

14、cratch pool o vmchange -m MEDIA_ID -p POOL# , Relabel the media o bplabel -ev CIM572 -d dlt -p Scratch , Changing the barcode o , Changing the Volume Pool o vmchange -m MEDIA_ID -p POOL# , , List the frozen media o /usr/openv/netbackup/bin/goodies/available_media | grep -i FROZEN , Unfreeze the medi

15、a o bpmedia -unfreeze -ev -h , bplabel -ev -d -p , bplabel -ev 000687 -d dlt -p TriVrgt_OFFSITE , Verify that there are no images on the tape o bpimmedia -mediaid 000687 -L , Expire the tape o bpexpdate -ev 000687 -d 0 -host scorpius -force , Get the status and pool number of the tape o vmquery -m 0

16、00687 , Deassign the tape o vmquery -deassignbyid o vmquery -deassignbyid 000687 4 0x0 , Delete the tape o vmdelete -m 000687 , / o requires that TMPDIR and TEMPDIR be set correctly , Create /usr/openv/netbackup/exclude_list , Put the file specifications of the files/directories to be excluded o /mn

17、t/directory/* , vmquery -m - Displays attributes about a particular tape , bpmedialist -U -mcontents -ev 000687 - Displays media contents , bpmedialist -U -mlist - List of all media , bpmedialist -U -mlist -ev CYM966 - Listing of a particular media id , bpimmedia -mediaid 000687 -L - Listing of imag

18、es on a tape , Starting robtest o robtest o 1 - to select TLD 0 , Getting help o ? , Looking at contents of the tape drives o s d , Looking at the contents of the library o s s , Moving a tape from a drive to a library slot o s d - to identify drive number that has tape (Contains Cartridge = yes, Ba

19、rcode=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 /usr/openv/netbackup/bp.conf , configuration file, sets backup se

20、rver and backup clients , force statement must be correct , client to browse from , client to restore to /usr/openv/volmgr/vmconf To utilize logfiles, create the corresponding directory in /usr/openv/netbackup/logs Server Logfile directories: , admin - adminstrative commands , bpbrm - backup and res

21、tore manager , bpcd - client daemon , bpdbjobs - database manager program process , bpdm - disk manager process , bpjava-msvc - Java application server authentication service , bpjava-usvc - process that services Java requests , bprd - request daemon process , bpsched - scheduler process that runs o

22、n master servers , bptm - tape/optical media management process , user-ops - required directory for use by Java programs , xbpadm - X based administration utility , xbpmon - X based job monitor process Client Logfile directories: , bp - client user interface process , bparchive - archive program , b

23、pbackup - backup program , bpbkar - program that generates golden images , bpcd - client daemon , bpjava-msvc - Java application server authentication service , bpjava-usvc - process that services Java requests , bplist - program that lists backed up and archived files , bpmount - program that deter

24、mines local mountpoints and wildcard expansion for multiple streams , bphdb - Oracle database backup program start process , db_log - database specific extension log , tar - tar process log during restores , user_ops Media Manager logging automatically goes to the system log using syslogd logging fa

25、cility .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) ltid acsd vmd bpcllist - l

26、ist classes bpclinfo -L - displays info about a class vmpool - volume pools vmpool -listall vmpool -listscratch bplabel -ev -d hcart bpbackup db - backs up the catalog bpclclients - lists the clients for a particular policy bperror -statuscode this will bring up drive 0 if its control shows as down

27、, Look for pending requests o /usr/openv/volmgr/bin/vmoprcmd or gui - device management o If there is a pending request either re-assign it to a drive, or deny the request , 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

28、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 - from both client and server , bpclntcmd -hn - from both client and server , bpclntcmd -pn - from client only Device Management - info about tape drives , dlt , hcart (ultrium) Media id must agree with # of the tape

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1