NetBackup™ 命令参考指南

Last Published:
Product(s): NetBackup & Alta Data Protection (10.2)
  1. 介绍
    1.  
      关于 NetBackup 命令
    2.  
      浏览多个菜单级别
    3.  
      NetBackup 命令约定
    4.  
      NetBackup 介质管理器命令说明
    5.  
      IPv6 更新
  2. 附录 A. NetBackup 命令
    1.  
      acsd
    2.  
      add_media_server_on_clients
    3.  
      backupdbtrace
    4.  
      backuptrace
    5.  
      bmrc
    6.  
      bmrconfig
    7.  
      bmrepadm
    8.  
      bmrprep
    9.  
      bmrs
    10.  
      bmrsrtadm
    11.  
      bp
    12.  
      bparchive
    13.  
      bpbackup
    14.  
      bpbackupdb
    15.  
      bpcatarc
    16.  
      bpcatlist
    17.  
      bpcatres
    18.  
      bpcatrm
    19.  
      bpcd
    20.  
      bpchangeprimary
    21.  
      bpcleanrestore
    22.  
      bpclient
    23.  
      bpclimagelist
    24.  
      bpclntcmd
    25.  
      bpclusterutil
    26.  
      bpcompatd
    27.  
      bpconfig
    28.  
      bpdbjobs
    29.  
      bpdbm
    30.  
      bpdgclone
    31.  
      bpdown
    32.  
      bpduplicate
    33.  
      bperror
    34.  
      bpexpdate
    35.  
      bpfis
    36.  
      bpflist
    37.  
      bpgetconfig
    38.  
      bpgetdebuglog
    39.  
      bpimage
    40.  
      bpimagelist
    41.  
      bpimmedia
    42.  
      bpimport
    43.  
      bpinst
    44.  
      bpkeyfile
    45.  
      bpkeyutil
    46.  
      bplabel
    47.  
      bplist
    48.  
      bpmedia
    49.  
      bpmedialist
    50.  
      bpminlicense
    51.  
      bpnbat
    52.  
      bpnbaz
    53.  
      bppficorr
    54.  
      bpplcatdrinfo
    55.  
      bpplclients
    56.  
      bppldelete
    57.  
      bpplinclude
    58.  
      bpplinfo
    59.  
      bppllist
    60.  
      bpplsched
    61.  
      bpplschedrep
    62.  
      bpplschedwin
    63.  
      bppolicynew
    64.  
      bpps
    65.  
      bprd
    66.  
      bprecover
    67.  
      bprestore
    68.  
      bpretlevel
    69.  
      bpschedule
    70.  
      bpschedulerep
    71.  
      bpsetconfig
    72.  
      bpstsinfo
    73.  
      bpstuadd
    74.  
      bpstudel
    75.  
      bpstulist
    76.  
      bpsturep
    77.  
      bptestbpcd
    78.  
      bptestnetconn
    79.  
      bptpcinfo
    80.  
      bpup
    81.  
      bpverify
    82.  
      cat_convert
    83.  
      cat_export
    84.  
      cat_import
    85.  
      configureCerts
    86.  
      configureMQ
    87.  
      configureWebServerCerts
    88.  
      create_nbdb
    89.  
      csconfig cldinstance
    90.  
      csconfig cldprovider
    91.  
      csconfig meter
    92.  
      csconfig reinitialize
    93.  
      csconfig throttle
    94.  
      duplicatetrace
    95.  
      importtrace
    96.  
      jbpSA
    97.  
      jnbSA
    98.  
      ltid
    99.  
      mklogdir
    100.  
      msdpcldutil
    101.  
      nbauditreport
    102.  
      nbcallhomeproxyconfig
    103.  
      nbcatsync
    104.  
      NBCC
    105.  
      NBCCR
    106.  
      nbcertcmd
    107.  
      nbcertupdater
    108.  
      nbcldutil
    109.  
      nbcmdrun
    110.  
      nbcomponentupdate
    111.  
      nbcplogs
    112.  
      nbcredkeyutil
    113.  
      nbdb_admin
    114.  
      nbdb_backup
    115.  
      nbdb_move
    116.  
      nbdb_ping
    117.  
      nbdb_restore
    118.  
      nbdb_unload
    119.  
      nbdb2adutl
    120.  
      nbdbms_start_server
    121.  
      nbdbms_start_stop
    122.  
      nbdc
    123.  
      nbdecommission
    124.  
      nbdelete
    125.  
      nbdeployutil
    126.  
      nbdevconfig
    127.  
      nbdevquery
    128.  
      nbdiscover
    129.  
      nbdna
    130.  
      nbemm
    131.  
      nbemmcmd
    132.  
      nbfindfile
    133.  
      nbfirescan
    134.  
      nbfp
    135.  
      nbftadm
    136.  
      nbftconfig
    137.  
      nbgetconfig
    138.  
      nbhba
    139.  
      nbholdutil
    140.  
      nbhostidentity
    141.  
      nbhostmgmt
    142.  
      nbhypervtool
    143.  
      nbidpcmd
    144.  
      nbimageshare
    145.  
      nbinstallcmd
    146.  
      nbjm
    147.  
      nbkmiputil
    148.  
      nbkmscmd
    149.  
      nbkmsutil
    150.  
      nboraadm
    151.  
      nborair
    152.  
      nbpem
    153.  
      nbpemreq
    154.  
      nbmlb
    155.  
      nbperfchk
    156.  
      nbplupgrade
    157.  
      nbrb
    158.  
      nbrbutil
    159.  
      nbreplicate
    160.  
      nbrepo
    161.  
      nbrestorevm
    162.  
      nbseccmd
    163.  
      nbserviceusercmd
    164.  
      nbsetconfig
    165.  
      nbshvault
    166.  
      nbsmartdiag
    167.  
      nbsnapimport
    168.  
      nbsnapreplicate
    169.  
      nbsqladm
    170.  
      nbstl
    171.  
      nbstlutil
    172.  
      nbstop
    173.  
      nbsu
    174.  
      nbsvrgrp
    175.  
      netbackup_deployment_insights
    176.  
      resilient_clients
    177.  
      restoretrace
    178.  
      stopltid
    179.  
      tldd
    180.  
      tldcd
    181.  
      tpautoconf
    182.  
      tpclean
    183.  
      tpconfig
    184.  
      tpext
    185.  
      tpreq
    186.  
      tpunmount
    187.  
      verifytrace
    188.  
      vltadm
    189.  
      vltcontainers
    190.  
      vlteject
    191.  
      vltinject
    192.  
      vltoffsitemedia
    193.  
      vltopmenu
    194.  
      vltrun
    195.  
      vmadd
    196.  
      vmchange
    197.  
      vmcheckxxx
    198.  
      vmd
    199.  
      vmdelete
    200.  
      vmoprcmd
    201.  
      vmphyinv
    202.  
      vmpool
    203.  
      vmquery
    204.  
      vmrule
    205.  
      vmupdate
    206.  
      vnetd
    207.  
      vssat
    208.  
      vwcp_manage
    209.  
      vxlogcfg
    210.  
      vxlogmgr
    211.  
      vxlogview
    212.  
      W2KOption

名称

nbshvault — 根据 Sheltered Harbor 规范执行数据保管操作

大纲

nbshvault -h | --help

nbshvault -b [filename] | -b filename [--force] | -b [filename] [--config-dir config-dir-path] [--force]

nbshvault -r [filename] | -r [filename] [--config-dir config-dir-path]

nbshvault --report | --report -n | --report -n number[--config-dir config-dir-path]

nbshvault --show-config -i institution ID [--config-dir config-dir-path]

nbshvault –register -i institution ID -reg-key registration ID [--config-dir config-dir-path]

nbshvault --attest [-k keyword] -i institution ID [--config-dir config-dir-path]

nbshvault --configure [filename] [--config-dir config-dir-path]

nbshvault --generate-template -path path

nbshvault --export-key -i institution ID -path path [--config-dir config-dir-path]

nbshvault --import-key -i institution ID -key-file filename [--config-dir config-dir-path]

 

On UNIX systems, the directory path to this command is /usr/openv/netbackup/bin/

On Windows systems, the directory path to this command is install_path\NetBackup\bin\

描述

使用 nbshvault 命令可执行 NetBackup Sheltered Harbor 解决方案数据保管操作。可能的数据保管操作包括配置、注册、备份和还原操作。可以在交互模式或非交互模式下执行这些操作。

在交互模式下,必须在控制台上手动指定输入。使用交互式 CLI 进程执行数据保管操作。

在非交互模式下,在 JSON 文件中提供输入。JSON 文件名作为参数传递到命令行。如果未在命令中指定 JSON 文件名,则数据保管操作将进入交互模式。

选项

--attest

使用此选项可使用提供的机构 ID 或关键字来证明备份消息。如果未提供机构 ID 或关键字,则会针对最新备份进行证明。如果在配置期间提供了 config-dir 选项,则还需使用 config-dir 选项证明备份消息。

-b | --backup

读取给定备份 JSON 文件中提供的配置,并根据 Sheltered Harbor 合规性规范备份数据。如果未提供文件名,则必须根据交互式 CLI 进程的提示提供输入。如果在配置期间提供了 config-dir 选项,则还必须使用 config-dir 选项备份数据。即使证明上次备份失败,也可使用强制选项继续进行备份。

--config-dir config-dir-path

使用此选项可提供用于存储解决方案配置的自定义配置目录。

--configure

使用此选项可从指定文件添加与 NetBackup、保管库和 KMS 相关的配置。如果未提供文件名,则必须根据交互式 CLI 进程的提示提供输入。还可以在配置时使用 config-dir 选项为配置文件指定自定义路径。

--export-key

使用此选项可将证明消息签名密钥从 NetBackup 路径复制到指定路径。如果未提供机构 ID 和路径,则必须根据交互式 CLI 进程的提示提供输入。如果在配置期间提供了 config-dir 选项,则使用 config-dir 选项将证明消息的签名密钥从自定义路径复制到指定路径。

--force

即使证明上次备份失败,也可使用此选项继续进行备份。

--generate-template

为配置、备份和还原选项生成 JSON 模板。JSON 模板是在指定的 -path 位置创建的。

-h | --help

显示实用程序的使用情况。

-i institution ID

您要为其配置解决方案的给定金融机构的机构 ID。

--import-key

使用此选项可将证明消息签名密钥从指定路径复制到 NetBackup 路径。如果未提供机构 ID 和密钥文件,则必须根据交互式 CLI 进程的提示提供输入。如果在配置期间提供了 config-dir 选项,则使用 config-dir 选项将证明消息的签名密钥从指定路径复制到自定义路径。

-k keyword

在备份过程中为解决方案使用的关键字短语。可在报告选项中看到此内容。

-n number

报告选项中存在的记录数。

-path path

证明消息签名密钥的导出路径。

-reg-key registration ID

Sheltered Harbor 已提供给每个金融机构的注册 ID。

-r | --restore

读取给定 JSON 还原文件中提供的配置,并根据 Sheltered Harbor 合规性规范执行数据还原。如果未提供文件名,则必须根据交互式 CLI 进程的提示提供输入。如果在配置期间提供了 config-dir 选项,则还必须使用 config-dir 选项还原数据。

–-register

使用此选项,以使用 Sheltered Harbor 提供的机构 ID 和注册 ID 在 Sheltered Harbor 中注册机构。如果未提供机构 ID 和注册 ID,则必须根据交互式 CLI 进程的提示提供输入。如果在配置期间提供了 config-dir 选项,则还必须使用 config-dir 选项在 Sheltered Harbor 中注册机构。

--report

在报告中显示备份或还原操作的最新给定记录数。默认数字为 10。如果在配置期间提供了 config-dir 选项,则必须使用 config-dir 显示备份或还原操作的最新给定记录数。

--show-config

使用此选项可在 Sheltered Harbor 解决方案中查看给定机构 ID 的配置。如果在配置期间提供了 config-dir 选项,则还必须使用 config-dir 选项查看给定机构 ID 的配置。

示例

示例 1:执行备份操作。

nbshvault -b
This command backs up the data as per the Sheltered Harbor compliance 
specifications. Do you want to continue? [y,n] (y)
Enter the institution ID provided by the Sheltered Harbor:
Enter the input storage path:
Enter the transfer storage path:

示例 1:执行还原操作。

nbshvault -r
This command performs data restoration as per the Sheltered Harbor 
compliance specifications. Do you want to continue? [y,n] (y)
Enter the institution ID provided by the Sheltered Harbor:
Enter the recovery storage path:
Enter the restored data storage path: