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

上传人:b****5 文档编号:8329751 上传时间:2023-05-11 格式:DOCX 页数:20 大小:144.01KB
下载 相关 举报
NBU的备份和恢复图形篇Word下载.docx_第1页
第1页 / 共20页
NBU的备份和恢复图形篇Word下载.docx_第2页
第2页 / 共20页
NBU的备份和恢复图形篇Word下载.docx_第3页
第3页 / 共20页
NBU的备份和恢复图形篇Word下载.docx_第4页
第4页 / 共20页
NBU的备份和恢复图形篇Word下载.docx_第5页
第5页 / 共20页
NBU的备份和恢复图形篇Word下载.docx_第6页
第6页 / 共20页
NBU的备份和恢复图形篇Word下载.docx_第7页
第7页 / 共20页
NBU的备份和恢复图形篇Word下载.docx_第8页
第8页 / 共20页
NBU的备份和恢复图形篇Word下载.docx_第9页
第9页 / 共20页
NBU的备份和恢复图形篇Word下载.docx_第10页
第10页 / 共20页
NBU的备份和恢复图形篇Word下载.docx_第11页
第11页 / 共20页
NBU的备份和恢复图形篇Word下载.docx_第12页
第12页 / 共20页
NBU的备份和恢复图形篇Word下载.docx_第13页
第13页 / 共20页
NBU的备份和恢复图形篇Word下载.docx_第14页
第14页 / 共20页
NBU的备份和恢复图形篇Word下载.docx_第15页
第15页 / 共20页
NBU的备份和恢复图形篇Word下载.docx_第16页
第16页 / 共20页
NBU的备份和恢复图形篇Word下载.docx_第17页
第17页 / 共20页
NBU的备份和恢复图形篇Word下载.docx_第18页
第18页 / 共20页
NBU的备份和恢复图形篇Word下载.docx_第19页
第19页 / 共20页
NBU的备份和恢复图形篇Word下载.docx_第20页
第20页 / 共20页
亲,该文档总共20页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

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

《NBU的备份和恢复图形篇Word下载.docx》由会员分享,可在线阅读,更多相关《NBU的备份和恢复图形篇Word下载.docx(20页珍藏版)》请在冰点文库上搜索。

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

bpplist

13.通过bpps–a确认veritas进程(SANMedia)已停止

netstat|grepbpcd查看bpcd监听进程(client)14.UP驱动器或重启驱动器

vmoprcmd–upno.

vmoprcmd–resetno.

15.将带子从pool中移走

bpexpdate–mmedia_id–d0–hosthostname

CLICommandLineInterfaceGUIGraphicalUserInterfaceMediaServer

MasterServer

/usr/openv/netbackup/bin/K77netbackup-->

gracefulshutdown

/usr/openv/netbackup/bin/bpps-a-->

checkforanyremaining

processes

/usr/openv/netbackup/bin/goodies/bp.kill_all--->

killsall

remainingnetbackupprocesses,notnecessarilygraceful

kill-9<

pid>

foranyremaining.NOTE:

unkillableprocesses

mayrequireareboot

/usr/openv/netbackup/bin/S77netbackup-->

afterbp.kill_all,to

restart

javafromthewindowsclient,x-windowsfromtheserver-/usr/openv/netbackup/bin/xnb&

ActivityMonitoror

/usr/openv/netbackup/bin/admincmd/bpdbjobs-report

Identifythedrivenametobecleaned

otpclean-L

Manuallycleanthedrive:

otpclean-C<

drivename>

GUI

oBackupandRestore-->

Findthefilesystem-->

Preview

MediaButton

CLI

oFindthecorrectbackupimages

bpimagelist-U-client<

CLIENT>

-d<

STARTDATE>

-e

<

ENDDATE>

oFindthemediausedforthoseimages

-media

Findthetape(s)used(aboveprocedureusingbpimagelist)

cd/usr/openv/netbackup/db/jobs/done

Runthefollowingscriptandredirectit'

soutputtoatextfile:

forfilein`grepMOUNTING*|grep<

MEDIA_ID>

|awk'

{print

$1}'

|sed'

s/:

MOUNTING//'

`

do

echo$file

grepPATH_WRITTEN$file|awk'

{print$3}'

echo"

"

==========================================Endof

Image======================================"

done

ThisprocessworksforNBUV3.4:

cd/usr/openv/netbackup/db/images/<

ls-ltr-->

thiswillidentifythedirectorywiththeproper

date

verifydirectorywith"

bpdbm-ctime<

Unixtime>

cd<

ls-ltr-->

listsallofthebackupsforthisclientonthisdate

cat<

POLICY>

_<

BUType>

.f|awk'

{print$10}'

-->

this

printsoutthefilesinthebackup

ForNBU>

V3.4

bpflist--help-->

undocumentednetbackupcommandtolistfiles

fromabinary.ffile

InventoryRobot-->

/opt/openv/volmgr/bin/vmcheckxxx-rt

robot_type-rnrobot_number-list(whererobot_typeistld,

acs,...)

InventoryRobotandUpdateConfiguration--

>

/opt/openv/volmgr/bin/vmupdate-rtrobot_type-rnrobot_number

-list(whererobot_typeistld,acs,...)

vmpool-listall

Countscratchtapes:

/usr/openv/volmgr/bin/vmquery-pnScratch|

grep-c"

robotslot"

Movingtapestothescratchpool

oIfNeeded-Expirethetape

bpexpdate-ev<

TAPEID>

-d0-force-host<

Media

Manager>

oMovethetape

vmchange-p2-m<

/usr/openv/volmgr/bin/vmoprcmd

/usr/openv/volmgr/vmoprcmd-down<

driveindex>

/usr/openv/volmgr/vmoprcmd-up<

FromtheGUI

ouserbackup&

restore-->

configuration-->

client

clientto

restore

odirectorytosearch

odirectorydepth

odaterange

ofile-->

browsebackupsforrestore

UsingtheGUI

oMediaManagement-->

Actions-->

New-->

Single

Volume..-->

oMediaType(ieDLT)

oRobotType(ieTLD)

oMediaID(fromInventory)

oSlotNumber(fromInventory)

oRobotNumber(ie0)

oVolumeGroup

oVolumePool(ieScratch),UsingtheCLI

ovmadd-m<

mediaid>

-mt<

tapetype>

-verbose-rt<

robot

type>

-b<

barcode>

-rn<

robotnumber>

-rc1<

slot>

-p<

pool

number>

-mm<

maxmounts>

vmpool-listall-->

listsallpools,bothnameand

number

oForexample:

Expirethemedia

obpexpdate-evMEDIA_ID-d0-force-hostHOST,Deassignthemedia

ovmquery-deassignbyidMEDIA_ID40,Movetothescratchpool

ovmchange-mMEDIA_ID-pPOOL#

Relabelthemedia

obplabel-evCIM572-ddlt-pScratch

Changingthebarcode

o,ChangingtheVolumePool

Listthefrozenmedia

o/usr/openv/netbackup/bin/goodies/available_media|grep-i

FROZEN

Unfreezethemedia

obpmedia-unfreeze-ev<

-h<

mediaserver>

bplabel-ev<

tapedensity>

poolname>

bplabel-ev000687-ddlt-pTriVrgt_OFFSITE

Verifythattherearenoimagesonthetape

obpimmedia-mediaid000687-L

Expirethetape

obpexpdate-ev000687-d0-hostscorpius-force,Getthestatusandpoolnumberofthetape

ovmquery-m000687

Deassignthetape

ovmquery-deassignbyid<

<

poolnumber>

statuscode

fromvmquery-m>

ovmquery-deassignbyid00068740x0,Deletethetape

ovmdelete-m000687

/

orequiresthatTMPDIRandTEMPDIRbesetcorrectly

Create/usr/openv/netbackup/exclude_list,Putthefilespecificationsofthefiles/directoriestobe

excluded

o/mnt/directory/*

vmquery-m<

Displaysattributesaboutaparticular

tape

bpmedialist-U-mcontents-ev000687-->

Displaysmediacontents

bpmedialist-U-mlist-->

Listofallmedia,bpmedialist-U-mlist-evCYM966-->

Listingofaparticular

mediaid

bpimmedia-mediaid000687-L-->

Listingofimagesonatape

Startingrobtest

orobtest

o1-->

toselectTLD0

Gettinghelp

o?

Lookingatcontentsofthetapedrives

osd

Lookingatthecontentsofthelibrary

oss

Movingatapefromadrivetoalibraryslot

osd-->

toidentifydrivenumberthathastape(Contains

Cartridge=yes,Barcode=XXXXXX)

oss-->

toidentifyanemptyslotinthetapelibrary

(Netbackupwillneedtobere-inventoried)

omd#s#-->

fromfromdrive#toslot#

verifythetapedriveisempty

verifythelibraryslothasthetape

/usr/openv/netbackup/bp.conf

configurationfile,setsbackupserverandbackupclients,forcestatementmustbecorrect

clienttobrowsefrom

clienttorestoreto

/usr/openv/volmgr/vmconf

Toutilizelogfiles,createthecorrespondingdirectoryin

/usr/openv/netbackup/logs

ServerLogfiledirectories:

admin-adminstrativecommands

bpbrm-backupandrestoremanager

bpcd-clientdaemon

bpdbjobs-databasemanagerprogramprocess,bpdm-diskmanagerprocess

bpjava-msvc-Javaapplicationserverauthenticationservice

bpjava-usvc-processthatservicesJavarequests,bprd-requestdaemonprocess

bpsched-schedulerprocessthatrunsonmasterservers,bptm-tape/opticalmediamanagementprocess,user-ops-requireddirectoryforusebyJavaprograms,xbpadm-Xbasedadministrationutility

xbpmon-XbasedjobmonitorprocessClientLogfiledirectories:

bp-clientuserinterfaceprocess

bparchive-archiveprogram

bpbackup-backupprogram

bpbkar-programthatgeneratesgoldenimages

bpjava-usvc-processthatservicesJavarequests

bplist-programthatlistsbackedupandarchivedfiles

bpmount-programthatdetermineslocalmountpointsandwildcard

expansionformultiplestreams

bphdb-Oracledatabasebackupprogramstartprocess

db_log-databasespecificextensionlog

tar-tarprocesslogduringrestores

user_ops

MediaManagerloggingautomaticallygoestothesystemlogusingsyslogd

loggingfacility

.Loggingwillonlyoccurifthesedirectoriesarecreated.These

directorieswillgeneratealotofdataandshouldbedeletedwhenno

longernecessary.

ToincreasetheamountoflogginginformationsetVERBOSE=2in

/usr/open/netbackup/bp.conf(defaultisVERBOSE=1)

ltid

acsd

vmd

bpcllist-listclasses

bpclinfo<

class>

-L-->

displaysinfoaboutaclass

vmpool-volumepools

vmpool-listall

vmpool-listscratch

bplabel-ev<

-dhcart

bpbackupdb-->

backsupthecatalog

bpclclients<

policy>

liststheclientsforaparticularpolicy

bperror-statuscode<

--displaysinformationaboutthenetbackup(class)

error.

Checksystemlogfileforerrormessages

Stopandrestartallthenetbackupprocesses

Lookforadowneddrive

o/usr/openv/volmgr/bin/vmoprcmd

o/usr/openv/volmgr/bin/vmoprcmd-up0-->

thiswillbring

updrive0ifit'

scontrolshowsasdown,Lookforpendingrequests

o/usr/openv/volmgr/bin/vmoprcmdorgui-->

devicemanagement

oIfthereisapendingrequesteitherre-assignittoadrive,

ordenytherequest

Checkforahardwareproblembylookingformessagesonthetape

library

Makesurethereisnotatapestuckinthedrive

oUserobtest(describedabove)tolookatthedrives

Ifthereisatapestuckinthedrive,trytoremove

itusingrobtest

Ifrobtestfails,thenyoumustmanuallyremoveit.

bpclncmd-ip<

ipaddress>

frombothclientandserver,bpclntcmd-hn<

hostname>

frombothclientandserver,bpclntcmd-pn-->

fromclientonly

DeviceManagement-->

infoabouttapedrives

dlt

hcart(ultrium)

Mediaidmustagreewith#ofthetape

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 医药卫生 > 药学

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2