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
阅读(396) | 评论(0) | 转发(0) |