Veritas NetBackup™ Commands Reference Guide
- Introduction
- Appendix A. NetBackup Commands
Name
nbrepo — used to manage the NetBackup package repository.
SYNOPSIS
-a package_path
-d package_identifier
-l
-p package_identifier
-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 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 -lType Version OS File Name -- ------------- ------- ------------ ----------------------------- 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 File Name: vxupdate_nb_8.2_redhat_x64.sja Package Type: server+client Operating System: redhat_x64 Release Version: 8.2 Package Size: 1.26 GB Created Date/Time (UTC): 2019-05-15 09:04:28
SEE ALSO
See nbinstallcmd.