NetBackup™ Commands Reference Guide

Last Published:
Product(s): NetBackup & Alta Data Protection (10.4)
  1. Introduction
    1.  
      About NetBackup commands
    2.  
      Navigating multiple menu levels
    3.  
      NetBackup command conventions
    4.  
      NetBackup Media Manager command notes
    5.  
      IPV6 updates
  2. Appendix A. NetBackup Commands
    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.  
      nbepicfile
    131.  
      nbfindfile
    132.  
      nbfirescan
    133.  
      nbfp
    134.  
      nbftadm
    135.  
      nbftconfig
    136.  
      nbgetconfig
    137.  
      nbhba
    138.  
      nbholdutil
    139.  
      nbhostidentity
    140.  
      nbhostmgmt
    141.  
      nbhypervtool
    142.  
      nbidpcmd
    143.  
      nbimageshare
    144.  
      nbinstallcmd
    145.  
      nbjm
    146.  
      nbkmiputil
    147.  
      nbkmscmd
    148.  
      nbkmsutil
    149.  
      nboraadm
    150.  
      nborair
    151.  
      nboracmd
    152.  
      nbpem
    153.  
      nbpemreq
    154.  
      nbmariadb
    155.  
      nbmlb
    156.  
      nbperfchk
    157.  
      nbplupgrade
    158.  
      nbrb
    159.  
      nbrbutil
    160.  
      nbreplicate
    161.  
      nbrepo
    162.  
      nbrestorevm
    163.  
      nbseccmd
    164.  
      nbserviceusercmd
    165.  
      nbsetconfig
    166.  
      nbshvault
    167.  
      nbsmartdiag
    168.  
      nbsnapimport
    169.  
      nbsnapreplicate
    170.  
      nbsqladm
    171.  
      nbsqlite
    172.  
      nbstl
    173.  
      nbstlutil
    174.  
      nbstop
    175.  
      nbsu
    176.  
      nbsvrgrp
    177.  
      netbackup_deployment_insights
    178.  
      resilient_clients
    179.  
      restoretrace
    180.  
      stopltid
    181.  
      tldd
    182.  
      tldcd
    183.  
      tpautoconf
    184.  
      tpclean
    185.  
      tpconfig
    186.  
      tpext
    187.  
      tpreq
    188.  
      tpunmount
    189.  
      verifytrace
    190.  
      vltadm
    191.  
      vltcontainers
    192.  
      vlteject
    193.  
      vltinject
    194.  
      vltoffsitemedia
    195.  
      vltopmenu
    196.  
      vltrun
    197.  
      vmadd
    198.  
      vmchange
    199.  
      vmcheckxxx
    200.  
      vmd
    201.  
      vmdelete
    202.  
      vmoprcmd
    203.  
      vmphyinv
    204.  
      vmpool
    205.  
      vmquery
    206.  
      vmrule
    207.  
      vmupdate
    208.  
      vnetd
    209.  
      vssat
    210.  
      vwcp_manage
    211.  
      vxlogcfg
    212.  
      vxlogmgr
    213.  
      vxlogview
    214.  
      W2KOption

Name

nboracmd — utility for configuring NetBackup Oracle assets

SYNOPSIS

nboracmd list databases [-S primary_server] [-format {csv, json}][-limit limit] [-filter filter] [-sort sort]

nboracmd list pdbs [-S primary_server] [-format {csv, json}] [-limit limit] [-filter filter] [-sort sort]

nboracmd list instances [-S primary_server] [-format {csv, json}] [-limit limit] [-filter filter] [-sort sort] [-show_connect_descriptor]

nboracmd list credentials [-S primary_server] [-format {csv, json}] [-limit limit] [-filter filter] [-sort sort]

nboracmd list jobs [-S primary_server] [-format {csv, json}] [-limit limit] [-filter filter] [-sort sort]

nboracmd list rman_catalogs [-S primary_server] [-format {csv, json}] [-limit limit] [-filter filter] [-sort sort]

nboracmd list job_details -job_id job_id [-S primary_server] [-format {csv, json}]

nboracmd modify database [-S primary_server] [-wallet_path wallet_path] [-tns_name tns_name] [-type SINGLE_INSTANCE | RAC | RAC_ONE_NODE] [-port port] [-service_name service_name] [-scan_name scan_name] [-state ACTIVE | INACTIVE] [-load_balanced_node_count load_balanced_node_count] [-rman_catalog rman_catalog] ASSET_ID

nboracmd modify instance [-S primary_server] [-backup_client_name backup_client_name] [-oracle_home oracle_home] [-base_home base_home] [-base_config base_config] [-override_tns_admin tns] [-state ACTIVE | INACTIVE] ASSET_ID

nboracmd backup -policy policy [-S primary_server] [-schedule schedule] ASSET_ID

nboracmd manage credentials -name credential_name [-S primary_server] [-force] ASSET_ID

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\

DESCRIPTION

The nboracmd command can list, modify, and backup Oracle assets. The nboracmd command performs the following operations:

  • list databases lists Oracle database assets.

  • list pdbs lists Oracle pdb assets.

  • list instances lists oracle instance assets.

  • list credentials lists NetBackup CMS Oracle credentials.

  • list jobs lists NetBackup Oracle jobs.

  • list rman_catalogs lists Oracle RMAN catalog assets.

  • list job_details lists Oracle job details.

  • modify database modifies an Oracle database asset with the given asset ID.

  • modify instance modifies an Oracle instance asset with the given asset ID.

  • backup runs an immediate backup with the provided policy and asset ID.

  • manage credentials associates the given credential with an asset.

OPTIONS

ASSET_ID

A positional argument that must be specified at the end of the command. The asset ID of the asset to be backed up, modified, or managed.

-backup_client_name name

The backup client name to be used with the given asset ID.

-base_config path

The base config path to be set on the asset with the given asset ID.

-base_home home

The base home path to be set on the asset with the given asset ID.

-filter filter

Filters the data in the list. The filter value must be in OData format. Can only be used with -format json.

-force

Used with manage credentials to associate a credential with an asset without validating the credential.

-format {csv | json}

Specifies the format to be used for the output. Defaults to csv.

-help

Prints the usage of a given action.

-job_id ID

The ID of the job to print details of.

-limit limit

The maximum items to return as a list. The maximum is 100.

-load_balanced_node_count number

An integer that defines the maximum number of nodes NetBackup uses for backup. Backups proceed with a lower number, if the number of nodes that is specified is not available. If you specify 0 (zero) NetBackup uses all the available nodes.

-name name

The name of the CMS credentials to associate with a given asset.

-oracle_home oracle_home

Specifies the file path of the Oracle home directory where the instance resides.

-override_tns_admin tns_admin

Used to override default TNS_ADMIN path.

-policy name

The policy name the backup request uses.

-port port

The port to be assigned to the database asset.

-rman_catalog ID

The asset ID of an RMAN catalog to be associated with a given database.

-S primary_server

Specifies the primary server that contains the asset to be listed or modified.

-scan_name name

Specifies the new SCAN name to be associated with the given database asset.

-schedule schedule

Specifies the schedule to be used when backing up an asset. If not specified, it defaults to a full schedule.

-service_name name

Specifies the new service name to be associated with the given database asset.

-show_connect_descriptor

Optional flag with list instances to include the connect descriptor for the RAC instances.

-sort sort

Sorts the data in the list. The sort value must be in OData format. Can only be used with -format json.

-state ACTIVE | INACTIVE

Specifies the new state to be assigned to the given instance or database asset.

-tns_name name

Specifies the new TNS name to be assigned to the given database asset.

-type SINGLE_INSTANCE | RAC | RAC_ONE_NODE

Specifies the new database type to be assigned to the given database asset.

-wallet_path path

Specifies the new wallet path to be assigned to the given database asset.

EXAMPLES

Example 1: List the databases, filtering on the database name.

nboracmd list databases -format json -filter
"commonAssetAttributes/displayName eq 'orcl'"

Example 2: List the RMAN catalogs, sorting on the first discovered time.

nboracmd list rman_catalogs -format json -sort
"commonAssetAttributes.detection.firstDiscoveredTime"

Example 3: Modify the database to ACTIVE and set the load_balanced_node_count to 1.

nboracmd modify database -state ACTIVE -load_balanced_node_count 1
b8402e70e3f788a43e643142cc27854f75c8e3d357dc

Example 4: Modify an instance's backup client name and state.

nboracmd modify instance -backup_client_name backup.client.name.com
-state ACTIVE 2efa9157344448d40d001870e3ff75c8e3d357dc

Example 5: Run an immediate backup of a database.

nboracmd backup -policy oracle -schedule inc
b8402e70e3f788a43e643142cc27854f75c8e3d357dc

Example 6: Manage an asset's credentials without validating.

nboracmd manage credentials -name oracle_creds -force
b8402e70e3f788a43e643142cc27854f75c8e3d357dc