Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. Veritas NetBackup™ Commands Reference Guide
  3. Appendix A. NetBackup Commands
  4. nbrepo
Veritas NetBackup™ Commands Reference Guide

Name

nbrepo — used to manage the NetBackup package repository.

SYNOPSIS

nbrepo -a package_path

nbrepo -d package_identifier

nbrepo -l

nbrepo -p package_identifier

nbrepo -h

 

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

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

DESCRIPTION

The nbrepo command is used to manage packages in the NetBackup repository. You can add new packages or delete existing packages from the repository. You can also list all the packages that currently exist in the repository. You can use this command to retrieve the package metadata.

OPTIONS

-a | -add package_path

Add packages to the repository. The package identifier the repository generates is returned.

-d | -delete package_identifier

Delete packages from the repository. Specify the package identifier for the command to delete.

-h | -help

Show the command usage statement.

-l | -list

Returns a list of all packages which have been added to the repository.

-p | -pkgDetails package_identifier

Returns the package metadata for the specified package.

EXAMPLES

Example 1: Adding a package to the NetBackup repository.

nbrepo -add C:\temp\vxupdate_nbclient_8.1.2_windows_x64.sja

Successfully added deployment package ID: 6 to 
the repository.

Example 2: Use the nbrepo command to determine the Installables field for use in the nbinstallcmd -package command. Note the File Name field is truncated in the nbrepo -l output. Bold is added for clarity.

nbrepo -l
ID Type          Version OS           File Name
-- ------------- ------- ------------ -----------------------------
1  server+client 8.2     redhat_x64   vxupdate_nb_8.2_redhat_x64.sja
6  client eeb    8.2     redhat_x64   nbeeb.client_3977539.1_8.2_re
7  server eeb    8.2     redhat_x64   nbeeb.server_3977539.1_8.2_re
8  eeb           8.2     windows_x64  nbeeb_3977539.1_8.2_windows_x
9  client        8.2     suse_ppc64le vxupdate_nbclient_8.2_suse_pp

nbrepo -p 1
                  Package ID: 1
           Package File Name: vxupdate_nb_8.2_redhat_x64.sja
                Package Type: server+client
            Operating System: redhat_x64
             Release Version: 8.2
                Installables: nbclient_8.2
                              nbserver_8.2
                Package Size: 1.26 GB
     Created Date/Time (UTC): 2019-05-15 09:04:28

SEE ALSO

See nbinstallcmd.

Feedback

Was this page helpful?
Previous

nbreplicate

Next

nbrestorevm

Feedback

Was this page helpful?