NetBackup™ 命令参考指南

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