NetBackup™ 命令参考指南

Last Published:
Product(s): NetBackup (10.3)
  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.  
      nbauditreport
    100.  
      nbcallhomeproxyconfig
    101.  
      nbcatsync
    102.  
      NBCC
    103.  
      NBCCR
    104.  
      nbcertcmd
    105.  
      nbcertupdater
    106.  
      nbcldutil
    107.  
      nbcmdrun
    108.  
      nbcomponentupdate
    109.  
      nbcplogs
    110.  
      nbcredkeyutil
    111.  
      nbdb_admin
    112.  
      nbdb_backup
    113.  
      nbdb_move
    114.  
      nbdb_ping
    115.  
      nbdb_restore
    116.  
      nbdb_unload
    117.  
      nbdb2adutl
    118.  
      nbdbms_start_server
    119.  
      nbdbms_start_stop
    120.  
      nbdc
    121.  
      nbdecommission
    122.  
      nbdelete
    123.  
      nbdeployutil
    124.  
      nbdevconfig
    125.  
      nbdevquery
    126.  
      nbdiscover
    127.  
      nbdna
    128.  
      nbemm
    129.  
      nbemmcmd
    130.  
      nbfindfile
    131.  
      nbfirescan
    132.  
      nbfp
    133.  
      nbftadm
    134.  
      nbftconfig
    135.  
      nbgetconfig
    136.  
      nbhba
    137.  
      nbholdutil
    138.  
      nbhostidentity
    139.  
      nbhostmgmt
    140.  
      nbhypervtool
    141.  
      nbidpcmd
    142.  
      nbimageshare
    143.  
      nbinstallcmd
    144.  
      nbjm
    145.  
      nbkmiputil
    146.  
      nbkmscmd
    147.  
      nbkmsutil
    148.  
      nboraadm
    149.  
      nborair
    150.  
      nbpem
    151.  
      nbpemreq
    152.  
      nbmariadb
    153.  
      nbmlb
    154.  
      nbperfchk
    155.  
      nbplupgrade
    156.  
      nbrb
    157.  
      nbrbutil
    158.  
      nbreplicate
    159.  
      nbrepo
    160.  
      nbrestorevm
    161.  
      nbseccmd
    162.  
      nbserviceusercmd
    163.  
      nbsetconfig
    164.  
      nbshvault
    165.  
      nbsmartdiag
    166.  
      nbsnapimport
    167.  
      nbsnapreplicate
    168.  
      nbsqladm
    169.  
      nbsqlite
    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: