Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1279295
  • 博文数量: 1211
  • 博客积分: 10010
  • 博客等级: 上将
  • 技术积分: 14340
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-09 11:20
文章分类

全部博文(1211)

文章存档

2011年(1)

2008年(1210)

我的朋友

分类: 服务器与存储

2008-06-12 22:50:05

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 0|1] [-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 [-h < VOLUME_DATABASE_HOST >]

-vltname < VAULT_NAME >-m < MEDIA_ID >



(Change the date a volume was sent to the vault)

vmchange.exe [-h < VOLUME_DATABASE_HOST >]

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



(Change the date when a volume returns from the vault)

vmchange.exe [-h < VOLUME_DATABASE_HOST >]

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



(Change a volume's vault slot number)

vmchange.exe [-h < VOLUME_DATABASE_HOST >]

-vltslot < VAULT_SLOT >-m < MEDIA_ID >



(Change a volume's vault session id)

vmchange.exe [-h < VOLUME_DATABASE_HOST >]

-vltsession < VAULT_SESSION_ID >-m < MEDIA_ID >



(Eject ACS, TLM, or TLH volumes)

vmchange.exe -api_eject -map < MAP_ID >-w

[-h < VOLUME_DATABASE_HOST >]

-res -ml < media_id:media_id:...:media_id >-rt < ROBOT_TYPE >

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



(Get robot information for TL8 or TLD)

vmchange.exe -res -robot_info -verbose

-rn < ROBOT_NUMBER >-rt < ROBOT_TYPE >-rh < ROBOT_CONTROL_HOST >



(Eject TL8 or TLD volumes)

vmchange.exe -res -multi_eject -w -verbose

-rn < ROBOT_NUMBER >-rt < ROBOT_TYPE >-rh < ROBOT_CONTROL_HOST >

-ml < media_id:media_id:...:media_id >



(Inject TL8 or TLD volumes)

vmchange.exe -res -multi_inject -w -verbose

-rn < ROBOT_NUMBER >-rt < ROBOT_TYPE >-rh < ROBOT_CONTROL_HOST >< /media_id:media_id:...:media_id >< /media_id:media_id:...:media_id >

< media_id:media_id:...:media_id >< media_id:media_id:...:media_id >  vmcheckXXXX

报告机械臂带库的介质组分

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

Usage: vmcheckxxx -rt robot_type -rn robot_number

[-rh robot_control_host] [-h volume_database_host]

[[-if inventory_filter_value] [-if inventory_filter_value] ...]

[-full] [-list]< /media_id:media_id:...:media_id >< /media_id:media_id:...:media_id >

< media_id:media_id:...:media_id >< media_id:media_id:...:media_id >  vmdelete

删除卷

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

missing media ID or volume group to delete

Usage: vmdelete.exe [-h < VOLUME_DATABASE_HOST >]

[-m < MEDIA_ID >| -v < VOLUME_GROUP >]< /media_id:media_id:...:media_id >< /media_id:media_id:...:media_id >

< media_id:media_id:...:media_id >< media_id:media_id:...:media_id >  vmquery

查寻卷

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

Usage: vmquery.exe [-h < VOLUME_DATABASE_HOST >,...,-h < VOLUME_DATABASE_HOST >]

[-b | -w]

{

-a |

-m < MEDIA_ID >|

-v < VOLUME_GROUP >|

-rn < ROBOT_NUMBER >|

-rt < ROBOT_TYPE >|

-mt < media_type >|

-p < POOL_NUMBER >|

-pn < pool_name >|

-res < ROBOT_TYPE >< ROBOT_NUMBER >< ROBOT_CONTROL_HOST >

< ROBOT_COORD1 >< ROBOT_COORD2 >|

-assignbyid < MEDIA_ID >< media_type >< POOL_NUMBER >< STATUS >

< ASSIGNTIME >|

-deassignbyid < MEDIA_ID >< POOL_NUMBER >< STATUS >

}

CAUTION: The act of unassigning volumes may lead to inconsistencies

between the application media database and volume database,

leading to the possibility for data loss. You must expire the

media from an application interface.



C:\Program Files\VERITAS\Volmgr\bin>vmquery -a< /media_id:media_id:...:media_id >< /media_id:media_id:...:media_id >

< media_id:media_id:...:media_id >< media_id:media_id:...:media_id >  Vmupdate

清点机械壁带库的介质组分并更新卷数据库

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

Usage: vmupdate -rt robot_type -rn robot_number

[-rh robot_control_host] [-h volume_database_host]

[[-if inventory_filter_value] [-if inventory_filter_value] ...]

[-full] [-recommend] [-interactive]

[-involgrp volume_group] [-outvolgrp volume_group]

[-mt media_type] [-p pool_name] [-use_barcode_rules]

[-use_seed] [-mp media_id_prefix] [-no_sides]

[-no_format_optical] [-overwrite_labels] [-empty_map]



Tpconfig

配置磁带命令< /media_id:media_id:...:media_id >< /media_id:media_id:...:media_id >

< media_id:media_id:...:media_id >< media_id:media_id:...:media_id >  C:\Program Files\VERITAS\Volmgr\bin>tpconfig

Usage:

(Display device configuration)

tpconfig -d

tpconfig -dl

tpconfig -l

tpconfig -lsavdbhost



(Add drive)

tpconfig -add -drive -type < DRVTYPE >-path < DRIVEPATH >

[-asciiname < ASCIIDRVNAME >] [-index < DRVINDEX >] [-shared [yes|no]]

[-cleanfreq < hours >] [-comment < COMMENT >] [-drstatus [UP|DOWN]]

[-robot < robnum > -robtype < robtype >] [-noverify]

[-robdrnum < robdrvnum > | -VendorDrvName < vendor_drive_name >]

[-ACS < acsnum > -LSM < lsmnum > -PANEL < panelnum > -DRIVE < drivenum >]

(Update drive)

tpconfig -update -drive < drvindex >

[-type < drvtype >] [-path < drivepath >] [-noverify]

[-newasciiname < asciidrvname >] [-shared [yes|no]]

[-cleanfreq < hours >] [-comment < comment >] [-drstatus [UP|DOWN]]

[-robot < robnum > -robtype < robtype >]

[-robdrnum < robdrvnum > | -VendorDrvName < vendor_drive_name >]

[-ACS < acsnum > -LSM < lsmnum > -PANEL < panelnum > -DRIVE < drivenum >]

(Delete drive)

tpconfig -delete -drive < drvindex >

tpconfig -multiple_delete -drive < drvindex1 >:< drvindex2 >:< drvindexN >

(Add robot)

tpconfig -add -robot < robnum > -robtype < robtype > -robpath < changername >

[-vdbhost < volume_database_host >]

tpconfig -add -robot < robnum > -robtype < robtype >

-port < portnum > -bus < busnum > -target < targetnum > -lun < lun >

[-vdbhost < volume_database_host >]

tpconfig -add -robot < robnum > -robtype < robtype > -cntlhost < cntlhost >

[-vdbhost < volume_database_host >]

(Update robot)

tpconfig -update -robot < robnum >

[-robtype < robtype >] [-robpath < changername > |

-port < portnum > -bus < busnum > -target < targetnum > -lun < lun > |

-cntlhost < cntlhost >] [-vdbhost < volume_database_host >]

(Delete robot)

tpconfig -delete -robot < robnum >

tpconfig -multiple_delete -robot < robnum1 >:< robnum2 >:< robnumN >

(Update standalone drive volume database host)

tpconfig -savdbhost < standalone_drive_volume_database_host >

< drvtype > can be one of the following:

"4mm", for 4mm tape drives

"8mm", for 8mm tape drives

"8mm2", for 8mm tape drives (2)

"8mm3", for 8mm tape drives (3)

"dlt", for DLT tape drives

"dlt2", for DLT tape drives (2)

"dlt3", for DLT tape drives (3)

"hcart", for half-inch tape drives

"hcart2", for half-inch tape drives (2)

"hcart3", for half-inch tape drives (3)

"qscsi", for quarter-inch tape drives

< drivepath > is the system's name for the drive.

"Tape0" for example

< robtype > can be one of the following:

"acs", for Automated Cartridge System robotic libraries

"rsm", for Removable Storage Manager robotic libraries

"tl4", for Tape Library 4mm robotic libraries

"tl8", for Tape Library 8mm robotic libraries

"tld", for Tape Library DLT robotic libraries

"tlh", for Tape Library Half-inch robotic libraries

"tlm", for Tape Library Multimedia robotic libraries

"ts8", for Tape Stacker 8mm robotic libraries

"tsd", for Tape Stacker DLT robotic libraries

tpreq

请求挂卷及和指定的驱动名相关链

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

File Name and media ID must be specified

Usage: tpreq -m media_id [-a (r/w)] [-d density] [-p poolname] [-f] filename

tpunmount.exe

从目录中移走磁带文件,并移走磁带卷从驱动器中

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

Usage: tpunmount [-f] filename [-force]

Do_not_eject_standalone option is specified in the vm.conf

Vmrule

管理微码

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

Usage: vmrule [-h volume_database_host]

{

-listall [-b] |

-add < barcode_tag > < media_type > < pool_name > < max_mounts > "< description >" |

-change < barcode_tag > < media_type > < pool_name > < max_mounts > "< description >" |

-delete < barcode_tag >

}

bpbakcup

往备份服务器上备份文件

C:\Program Files\VERITAS\NetBackup\bin\goodies>bpbackup

Specify either a listfile or a list of files on the command line.

USAGE: bpbackup [-p policy] [-s schedule] [-k "keyword phrase"]

[-L progress_log [-en]] [-S master_server...]

[-t policy_type] [-w [hh:mm:ss]]

-f listfile | filenames

bpbackup -i [-p policy] [-s schedule] [-k "keyword phrase"]

[-h hostname] [-L progress_log [-en]] [-S master_server...]

[-t policy_type] [-w [hh:mm:ss]]

EXIT STATUS 144: invalid command usage

Bpbackupdb

备份目录信息

C:\Program Files\VERITAS\NetBackup\bin\admincmd>bpbackupdb -help

USAGE: bpbackupdb [{-dpath disk_path} |

{-tpath tape_device_path [-m media_ID]} |

{-opath optical_device_path [-m media_ID]}]

[-nodbpaths] [-v] [path...]

bpdbjobs[/color

和NBU job数据库交互

C:\Program Files\VERITAS\NetBackup\bin\admincmd>bpdbjobs -help

bpdbjobs: [-report] [-M < master servers >]

[-file < pathname >] [-append] [ -vault | -lvault | -all_columns ]

bpdbjobs: -summary [-M < master servers >]

[-file < pathname >] [-append] [ -U | -L | -all_columns ]

bpdbjobs: -delete [-M < master servers >] < jobs,comma,separated >

bpdbjobs: -cancel [-M < master servers >] < jobs,comma,separated >

bpdbjobs: -cancel_all [-M < master servers >]

[-M < master servers >]

bpdbjobs: -clean [-M < master servers >]

[-keep_hours < hours >] or [-keep_days < days >]

[-keep_successful_hours < hours >] or [-keep_successful_days < days >]

[-verbose]

< hours > = [ 3..720 ] < days > = [ 1..30 ]

bpdbjobs: -version

bpdbjobs: -help

bpduplicate

创建一个备份拷贝

bperror

显示NBU状态及trouleshoot信息从NBU错误目录中得到

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

USAGE: bperror {-S|-statuscode status_code}

[-r|-recommendation] [-p|-platform Unx|NTx] [-v]

bperror [-all|-problems|-media|{-backstat [-by_statcode]}]

[-L|-l|-U] [-columns ncols]

[-d mm/dd/yyyy HH:MM:SS|-hoursago hours] [-e mm/dd/yyyy HH:MM:SS]

[-client client_name] [-server server_name]

[-jobid job_id]

[-M master_server,...] [-v]

bperror [-s {severity[+]}|severity ...] [-t type ...]

[-L|-l|-U] [-columns ncols]

[-d mm/dd/yyyy HH:MM:SS|-hoursago hours] [-e mm/dd/yyyy HH:MM:SS]

[-client client_name] [-server server_name]

[-jobid job_id]

[-M master_server,...] [-v]

-by_statcode is used only with both -U and -backstat

Valid values for ncols:

40 or more

Valid values for severity:

ALL, DEBUG, INFO, WARNING, ERROR, CRITICAL

Valid values for type:

ALL, ARCHIVE, BACKSTAT, BACKUP, GENERAL,

MEDIADEV, RETRIEVE, SECURITY

Bpexpdate

改变备份介质目录的过期日期

C:\Program Files\VERITAS\NetBackup\bin\admincmd>bpexpdate.exe

bpexpdate: -m < media id > -d < mm/dd/yyyy HH:MM:SS | 0 | infinity >

[-host < name >] [-force]

[-M < master_server,...,master_server >]

bpexpdate: -deassignempty [-m < media id >] [-host < name >] [-force]

[-M < master_server,...,master_server >]

bpexpdate: -backupid < backup id > -d < mm/dd/yyyy HH:MM:SS | 0 | infinity >

[-client < name >] [-copy < number >] [-force]

[-M < master_server,...,master_server >]

bpexpdate: -recalculate [-backupid < backup id >] [-copy < number >]

[-d < mm/dd/yyyy HH:MM:SS | 0 | infinity >] [-client < name >]

[-policy < name >] [-ret < retention level >] [-sched < type >]

[-M < master_server,...,master_server >]

legal values for sched: 0=full,1=differential incr,2=user,3=arch

4=cumulative incr

bpimport

引入备份

C:\Program Files\VERITAS\NetBackup\bin\admincmd>bpimport -help

bpimport: -create_db_info -id < media_id > [-server < name >] [-L < output_file > [-en]]

[-passwd] [-local]

bpimport: [-l] [-p] [-pb] [-PD] [-PM] [-v] [-local] [-client < name >]

[-M master_server]

[-Bidfile < file_name >]

[-backup_copy < backup_copy_value >]

[-st < sched_type >] [-sl < sched_label >] [-L < output_file > [-en]]

[-policy < name >] [-s < startdate >] [-e < enddate >]

[-pt < policy_type >] [-hoursago < hours >] [-cn < copy number >]

[-backupid < backup_id >] [-id < media_id >]

Valid values for sched_type:

FULL, INCR, CINC, UBAK, UARC, NOT_ARCHIVE

Valid values for policy_type:

Standard Apollo-wbak NetWare MS-Windows-NT

OS/2 AFS

Bplabel

往磁带介质上写标签

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

External media ID and density must be specified

Usage: bplabel -m media_ID -d density [-o] [-p volume_pool_name]

[-n drive_name | -u device_number]

bplist

列出备份及归档的文件

C:\Program Files\VERITAS\NetBackup\bin\admincmd>bplist -help

USAGE: bplist [-A | -B] [-C client] [-S master_server]

[-t policy_type] [-k policy] [-keyword "keyword phrase"]

[-F] [-R [n]] [-b | -c | -u] [-l] [-r] [-T] [-I] [-PI]

[-unix_files | -nt_files] [-Listseconds] [-flops file_options]

[-s mm/dd/yyyy [HH:MM:SS]] [-e mm/dd/yyyy [HH:MM:SS]] [filename]

bppldelete

删除策略

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

bppldelete: < policy_name > [-verbose] [-M < master_server,...,master_server >]

bppllist

列出备份策略

C:\Program Files\VERITAS\NetBackup\bin\admincmd>bppllist -help

bppllist: [< policy name >] [-L|-l|-U] [-verbose] [-allpolicies]

[-M < master_server,...,master_server >]

[-hwos]

[-byclient < client >] [-keyword "keyword phrase"]

bpmedia

freeze,unfreeze,suspend,unsuspend

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

bpmedia: operation not specified

bpmedia:

-freeze|-unfreeze|-suspend|-unsuspend -m < media_id > [-h < hostname >] [-v]

-movedb -m < media_id > -newserver < hostname > [-oldserver < hostname >] [-v]

bpmedialist

显示介质状态

C:\Program Files\VERITAS\NetBackup\bin\admincmd>bpmedialist -help

USAGE: bpmedialist [-mlist] [-U|-l|-L] [-m media_id] [-rl ret_level]

[-d density] [-p pool_name]

[-h host_name | -M master_server...] [-v]

bpmedialist -summary [-U|-L] [-brief] [-p pool_name]

[-h host_name | -M master_server...] [-v]

bpmedialist -mcontents -m media_id [-U|-l|-L] [-d density]

[-h host_name | -M master_server...] [-v]

bpmedialist -count -rt robot_type -rn robot_number [-d density]

[-U|-l] [-h host_name | -M master_server...] [-v]

bpplinfo

管理及显示策略信息

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

USAGE: bpplinfo policy_name -L|-l|-U [-v] [-M master_server,...]

bpplinfo policy_name -set|-modify [-v] [-M master_server,...]

[-active | -inactive] [-pt policy_type]

[-ut] [-ef effective_time]

[-residence label]

[-pool label]

[-priority priority]

[-rfile flag] [-blkincr flag]

[-multiple_streams flag] [-keyword "keyword phrase"]

[-encrypt flag]

[-collect_tir_info value] [-compress flag]

[-crossmp flag] [-disaster flag] [-follownfs flag]

[-policyjobs max_jobs(0=unlimited)]

Valid values for policy_type:

Standard Apollo-wbak NetWare MS-Windows-NT

OS/2 AFS

Bprecover

恢复相关的nbu目录

C:\Program Files\VERITAS\NetBackup\bin\admincmd>bprecover -help

bprecover: -l -m media_ID -d density [-v]

-l -tpath < raw_tape_device_path > [-v]

-l -dpath < disk_device_path > [-v]

-l -opath < optical_device_path > [-v]

-r [ALL|image_number] -m media_ID -d density [-stdout] [-dhost < destination_host >] [-v]

-r [ALL|image_number] -tpath < raw_tape_device_path > [-stdout] [-dhost < destination_host >]

[-v]

-r [ALL|image_number] -dpath < disk_device_path > [-stdout] [-dhost < destination_host >] [-v

]

-r [ALL|image_number] -opath < optical_device_path > [-stdout] [-dhost < destination_host >]

[-v]

bprestore

还原文件

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

USAGE: bprestore [-A | -B] [-K] [-l | -H | -y] [-r] [-T]

[-L progress_log [-en]] [-R rename_file] [-C client]

[-D client] [-S master_server] [-t policy_type]

[-p policy] [-k "keyword phrase"] [-cm] [-md]

[-td temp_dir] [-BR be_redirection_path] [-F file_options]

[-s mm/dd/yyyy [HH:MM:SS]] [-e mm/dd/yyyy [HH:MM:SS]]

[-w [hh:mm:ss]] -f listfile | filenames

EXIT STATUS 144: invalid command usage

Bpstuadd

创建nbu storage unit group or a storage unit

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

USAGE: bpstuadd -group group_name [stunit name]

or

USAGE: bpstuadd -label storage_unit_label

-path path_name

or

-density density_type [-rt robot_type -rn robot_number]

[-host host_name]

[-cj max_jobs]

[-odo on_demand_only]

[-mfs max_fragment_size]

[-maxmpx mpx_factor]

[-nh NDMP_attach_host]

[-verbose]

[-fastrax]

[-M master_server,...]

Valid values for mpx_factor: 1..32

max_fragment_size in MB:

For removable media, 0 if unlimited or greater than 50

For disk, between 20 and 2000 (2GB)

Bpstudel

删除storage unit

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

bpstudel: -label < storage unit label > [-verbose]

[-M < master_server,...,master_server >]

or

bpstudel: -group < group name >

[-M < master_server,...,master_server >]

bpstulist

列出storage unit

C:\Program Files\VERITAS\NetBackup\bin\admincmd>bpstulist -help

bpstulist: unrecognized option -help

bpstulist: -label < storage unit label > [-L|-l|-U] [-g|-go] [-verbose]

[-M < master_server,...,master_server >]

bpstulist: -group < group name > [-verbose]

[-M < master_server,...,master_server >]

bpverify

验证创建的备份

C:\Program Files\VERITAS\NetBackup\bin\admincmd>bpverify -help

bpverify: [-l] [-p] [-pb] [-v] [-local] [-client < name >]

[-st < sched_type >] [-sl < sched_label >] [-L < output_file > [-en]]

[-policy < name >] [-s mm/dd/yyyy HH:MM:SS] [-e mm/dd/yyyy HH:MM:SS]

[-M master_server]

[-Bidfile < file_name >]

[-backup_copy < backup_copy_value >]

[-pt < policy_type >] [-hoursago < hours >]

[[-cn < copy_number >] | [-primary]]

[-backupid < backup_id >] [-id < media_id or path >]

Valid values for sched_type:

FULL, INCR, CINC, UBAK, UARC, NOT_ARCHIVE

Valid values for policy_type:

Standard Apollo-wbak NetWare MS-Windows-NT

OS/2 AFS

Vopied

提供密码验证的服务

C:\Program Files\VERITAS\NetBackup\bin\admincmd>vopied -help

Usage: vopied

-standalone

-debug

-portnum number

-max_time seconds

-log_dir path

-severity mask

bpclntcmd

C:\Program Files\VERITAS\NetBackup\bin>bpclntcmd.exe /?

bpclntcmd.exe: unrecognized option /?

bpclntcmd.exe: -sv

bpclntcmd.exe: -pn

bpclntcmd.exe: -self

bpclntcmd.exe: -hn < hostname >

bpclntcmd.exe: -server < NBU master >

bpclntcmd.exe: -ip < ipaddress >

bpclntcmd.exe: -gethostname

bpclntcmd.exe: -is_local_host < hostname >

C:\Program Files\VERITAS\NetBackup\bin>bpclntcmd.exe -gethostname

wind-bhvit8vzqw

C:\Program Files\VERITAS\NetBackup\bin>bpclntcmd.exe -sv

5.0GA

C:\Program Files\VERITAS\NetBackup\bin>bpclntcmd.exe -pn

expecting response from server wind-bhvit8vzqw

wind-bhvit8vzqw wind-bhvit8vzqw 10.168.123.9 2218

C:\Program Files\VERITAS\NetBackup\bin>bpclntcmd.exe -self

gethostname() returned: wind-bhvit8vzqw

host wind-bhvit8vzqw: wind-bhvit8vzqw.boco.com.cn at 10.168.123.9 (0x97ba80a)

checkhname: aliases:

C:\Program Files\VERITAS\NetBackup\bin> < /COMMENT >< /media_id:media_id:...:media_id >< /media_id:media_id:...:media_id >

阅读(386) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~