NetBackup6.5在win下的常用命令

2011-04-02  ylzrx

来源:网络

写下WIN下常用的NETBACKUP6.5命令:

1、默认安装位置:C:\Program Files\VERITAS\NetBackup\

2、启动及停止netbackup

(1)停止

C:\Program Files\VERITAS\NetBackup\bin>bpdown

NetBackup 6.5 — Shutdown Utility

NetBackup software will be shutdown.  This may cause backups to fail.
Do you wish to proceed? (y/n) y
Shutting down services
Calling nbproxyreq to cleanup nbproxy processes.

Shutdown completed successfully.

(2)启动

C:\Program Files\VERITAS\NetBackup\bin>bpup

NetBackup 6.5 — Startup Utility

NetBackup services are about to be started.
Do you wish to proceed? (y/n) y
Starting services

Start up completed successfully.

3、列出可用磁带信息

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
—————————————————————————-
CatalogBackup pool

DataStore pool

NetBackup pool

0401L3  HCART3   TLD                             AVAILABLE
0402L3  HCART3   TLD                             AVAILABLE
0403L3  HCART3   TLD                             AVAILABLE
0404L3  HCART3   TLD                             AVAILABLE
0405L3  HCART3   TLD                             AVAILABLE
0406L3  HCART3   TLD                             AVAILABLE
0407L3  HCART3   TLD                             AVAILABLE
0408L3  HCART3   TLD                             AVAILABLE
0409L3  HCART3   TLD           10                   AVAILABLE

wxgadpt pool

0420L3  HCART3   TLD           73             55693440 ACTIVE
041YL3  HCART3   TLD           71                   AVAILABLE
041ZL3  HCART3   TLD           72                   AVAILABLE
0421L3  HCART3   TLD           74                   AVAILABLE
0422L3  HCART3   TLD           75                   AVAILABLE
0423L3  HCART3   TLD           76                   AVAILABLE
0424L3  HCART3   TLD           77                   AVAILABLE
0425L3  HCART3   TLD           78                   AVAILABLE
0426L3  HCART3   TLD           79                   AVAILABLE
0427L3  HCART3   TLD           80                   AVAILABLE
040AL3  HCART3   TLD           11             356334144        FULL
040BL3  HCART3   TLD           12             356334144        FULL
040CL3  HCART3   TLD           13             356334240        FULL
040DL3  HCART3   TLD           14             356334240        FULL
040EL3  HCART3   TLD           15             356333888        FULL
040FL3  HCART3   TLD           16             356333888        FULL
040GL3  HCART3   TLD           17             356333984        FULL
040HL3  HCART3   TLD           18             356334240        FULL
040IL3  HCART3   TLD           19             356334240        FULL
040JL3  HCART3   TLD           20             356334240        FULL

wxgajwpt pool

040UL3  HCART3   TLD           31             5679104  ACTIVE
040VL3  HCART3   TLD           32             22806528 ACTIVE
040WL3  HCART3   TLD           33             8496672  ACTIVE
040YL3  HCART3   TLD           35                   AVAILABLE
0410L3  HCART3   TLD           37                   AVAILABLE
0411L3  HCART3   TLD           38                   AVAILABLE
0412L3  HCART3   TLD           39                   AVAILABLE
0413L3  HCART3   TLD           40                   AVAILABLE
040XL3  HCART3   TLD           34                   FROZEN
040ZL3  HCART3   TLD           36                   FROZEN

wxgaqbpt pool

040TL3  HCART3   TLD           30             284681952        ACTIVE
040PL3  HCART3   TLD           26                   AVAILABLE
040QL3  HCART3   TLD           27                   AVAILABLE
040KL3  HCART3   TLD           21             356330752        FULL
040LL3  HCART3   TLD           22             356330464        FULL
040ML3  HCART3   TLD           23             356330976        FULL
040NL3  HCART3   TLD           24             356330752        FULL
040OL3  HCART3   TLD           25             356331008        FULL
040RL3  HCART3   TLD           28             356330752        FULL
040SL3  HCART3   TLD           29             356330848        FULL

4、单盘磁带信息

C:\Program Files\VERITAS\NetBackup\bin\admincmd>bpmedialist -m 040JL3
Server Host = p570b01

id                rl     images      allocated                    last updated                 density     kbytes     restores
vimages    expiration                     last read                        <——- STATUS ——->
——————————————————————————–
040JL3           22            2010-06-18 02:19   2010-06-19 02:48   hcart3   356334240     0
22            2010-07-20 02:48        N/A                                               FULL

5、解除冻结(FROZEN)的磁带

C:\Program Files\VERITAS\NetBackup\bin\admincmd>bpmedia -unfreeze -m 040XL3

6、使磁带过期及可写

C:\Program Files\VERITAS\NetBackup\bin\admincmd>bpexpdate -m 040ZL3 -d 0

7、列出备份文件目录

C:\Program Files\VERITAS\NetBackup\bin>bplist -C p570b01 -t 4 -R /

cntrl_236_1_722661541:\
al_235_1_722661254:\
al_234_1_722661063:\
al_233_1_722661063:\
bk_232_1_722660906:\
bk_231_1_722660580:\
bk_230_1_722660175:\
bk_229_1_722659849:\

    来自: ylzrx > 《NBU》

    以文找文   |   举报

    猜你喜欢
    发表评论评论公约
    喜欢该文的人也喜欢 更多