分享
 
 
 

VERITAS NetBackup5.0命令及用法

王朝other·作者佚名  2008-06-01
窄屏简体版  字體: |||超大  

Backup command and result

available_media.cmd :

显示系统可用的备份介质,

C:\Program Files\VERITAS\NetBackup\bin\goodies>available_media.cmd

media media robot robot robot side/ ret size status

ID type type # slot face level KBytes

----------------------------------------------------------------------------

DataStore pool

NetBackup pool

None pool

tpclean

NAME

tpclean - manages tape drive cleaning

SYNOPSIS

/usr/openv/volmgr/bin/tpclean -L

/usr/openv/volmgr/bin/tpclean -C drive_name

/usr/openv/volmgr/bin/tpclean -M drive_name

DESCRIPTION

tpclean allows you to monitor Media Manager tape drive usage and optionally

configure tape drives to be automatically cleaned (except drives in ACS, LMF, ODL, RSM,

or TLH robots; or shared (SSO) drives).

#tpclean -L

Drive Name Type Mount Time Frequency Last Cleaned Comment

********** **** ********** ********** ************ *******

qsci_drv0 qscsi 0.0 0 N/A

rob_A_drv1 8mm* 11.4 30 14:33 05/29/92

4mm_drv5 4mm 5.6 10 13:01 06/02/92

dlt_drv6 dlt 3.0 0 N/A

The following example sets the cleaning frequency for the drive named qsci_drv0 to 25

hours. The drive will be flagged as needing cleaning after 25 hours of mount time has

occurred.

tpclean -F qsci_drv0 25

check_coverage.cmd

比较己备份镜像和实际备份内容的差异

C:\Program Files\VERITAS\NetBackup\bin\goodies>check_coverage.cmd

File System Backup Coverage Report (UNIX and WindowsNT/2000/XP/95/98/Me only)

-----------------------------------------------------------------------------

Key: * - Policy is not active

UNCOVERED - Mount Point not covered by an active policy

MULTIPLE - Mount Point covered by multiple active policies

CLIENT: seasky

Drive Letter Backed Up By Policy Notes

------------ ------------------- -----

C:\ UNCOVERED

D:\ UNCOVERED

E:\ UNCOVERED

F:\ UNCOVERED

G:\ UNCOVERED

H:\ UNCOVERED

System_State:\ UNCOVERED

C:\Program Files\VERITAS\NetBackup\bin\goodies>supportnow.exe

Vmpool

显示,增加,修改,删除卷池

C:\Program Files\VERITAS\Volmgr\bin>vmpool

Usage: vmpool [-h volume_database_host]

{

-listall [-b]

-listscratch

-add < pool_name >"< description >" < HOST >< UID >< GID>

-change < pool_name >"< description >" < HOST >< UID >< GID >

-delete < pool_name >

-set_scratch < pool_name >

-unset_scratch < pool_name >

}

C:\Program Files\VERITAS\Volmgr\bin>vmpool -listall

===================================================================

pool number: 0

pool name: None

description: the None pool (for anyone)

pool host: ANYHOST

pool user: ANY

pool group: NONE

================================================================================

pool number: 1

pool name: NetBackup

description: the NetBackup pool

pool host: ANYHOST

pool user: 0 (???)

pool group: NONE

================================================================================

pool number: 2

pool name: DataStore

description: the DataStore pool

pool host: ANYHOST

pool user: 0 (???)

pool group: NONE

bpconfig

显示或修改全局设置(modify or displays the netbackup global configuration attributes)

C:\Program Files\VERITAS\NetBackup\bin\admincmd>bpconfig

*NULL* 10 12 1 2 28 0 0 0 0 1 24 1 0 2

C:\Program Files\VERITAS\NetBackup\bin\admincmd>bpconfig ?

bpconfig: unrecognized option ?

USAGE: bpconfig [-cd seconds] [-ha hours] [-kl days] [-kt days]

[-ma [address]] [-mdtm drives]

[-sto seconds] [-mj number]

[-period hours] [-ppi 01] [-prep hours] [-to seconds]

[-max_copies 2...10]

[-tries times] [-wi minutes] [-v] [-M master_server,...]

bpconfig [-L-l-U [-v] [-M master_server,...]]

C:\Program Files\VERITAS\NetBackup\bin\admincmd>bpconfig -L -M SeaSky

Mail Admin: *NULL*

Wakeup Interval: 10 minutes

Max Jobs/Client: 1

Backup Tries: 2 in 12 hours

Keep Logs: 28 days

Max drives/master: 0

Compress DB Files: (not enabled)

Media Mnt Timeout: 0 minutes (unlimited)

Postprocess Image: immediately

Display Reports: 24 hours ago

Keep TIR Info: 1 days

Prep Interval: 4 hours (default)

Max Backup Copies: 2

Vmadm

基于字符的卷治理工具,为了生效vmadm所做的任何更改, media manager volume daemon ?CVMD必须激活, C:\Program Files\VERITAS\Volmgr\bin>vmd

vmadd

往卷库中增加卷

C:\Program Files\VERITAS\Volmgr\bin>vmadd

missing media type

Usage: vmadd -m < MEDIA_ID >-mt < media_type >

[-h < VOLUME_DATABASE_HOST >] [-verbose]

[-b < BARCODE >] [-rt < ROBOT_TYPE >]

[-rn < ROBOT_NUMBER >] [-rh < ROBOT_CONTROL_HOST >]

[-rc1 < ROBOT_COORD1 >] [-rc2 < ROBOT_COORD2 >]

[-p < POOL_NUMBER >] [-mm < max_mounts > -n < CLEANINGS >]

[-op < OPTICAL_PARTNER >] [-d "< MEDIA_DESCRIPTION >"]

vmchange

修改卷配置信息

C:\Program Files\VERITAS\Volmgr\bin>vmchange.exe

No change mode specified

Usage:

(Change volume-group residence)

vmchange.exe [-h < VOLUME_DATABASE_HOST >]

-vg_res -rt < ROBOT_TYPE >-rn < ROBOT_NUMBER >

-rh < ROBOT_CONTROL_HOST >-v < VOLUME_GROUP >

(Change volume residence)

vmchange.exe [-h < VOLUME_DATABASE_HOST >]

-res -m < MEDIA_ID >-mt < media_type >-rt < ROBOT_TYPE >

-rn < ROBOT_NUMBER >-rh < ROBOT_CONTROL_HOST >-v < VOLUME_GROUP >

-rc1 < ROBOT_COORD1 >[-rc2 < ROBOT_COORD2 >]

(Change volume expiration date)

vmchange.exe [-h < VOLUME_DATABASE_HOST >]

-exp mm/dd/yy hh:mm:ss -m < MEDIA_ID >

(Change barcode for a volume)

vmchange.exe [-h < VOLUME_DATABASE_HOST >]

-barcode < BARCODE >-m < MEDIA_ID >

[-rt < ROBOT_TYPE >]

(Change media description)

vmchange.exe [-h < VOLUME_DATABASE_HOST >]

-d "< MEDIA_DESCRIPTION >" -m < MEDIA_ID >

(Associate this volume with a different pool)

vmchange.exe [-h < VOLUME_DATABASE_HOST >]

-p < POOL_NUMBER >-m < MEDIA_ID >

(Change volume's maximum mount count)

vmchange.exe [-h < VOLUME_DATABASE_HOST >]

-maxmounts < max_mounts >-m < MEDIA_ID >

(Change volume's number of mounts count / cleanings)

vmchange.exe [-h < VOLUME_DATABASE_HOST >]

-n < NUM_MOUNTS cleanings >-m < MEDIA_ID >

(Change volume's media type)

vmchange.exe [-h < VOLUME_DATABASE_HOST >]

-new_mt < media_type >-m < MEDIA_ID >

(Change volume's robot type)

vmchange.exe [-h < VOLUME_DATABASE_HOST >]

-new_rt < ROBOT_TYPE >-m < MEDIA_ID >-rn < ROBOT_NUMBER >

(Change volume group)

vmchange.exe [-h < VOLUME_DATABASE_HOST >]

-new_v < VOLUME_GROUP >

[-m < MEDIA_ID > -b < BARCODE >-mt < media_type >-rt < ROBOT_TYPE >]

(Change a volume's vault name)

vmchange.exe

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有