Veritas NetBackup™ Commands Reference Guide
- Introduction
- Appendix A. NetBackup Commands
Name
nbsu — used to gather diagnostic information about the system on which the utility is run
SYNOPSIS
[-d collector] [-g collector_group] [-h] [-l] [-nozip] [-r NetBackup_role]
On UNIX systems, the directory path to this command is /usr/openv/netbackup/bin/support/
On Windows systems, the directory path to this command is install_path\NetBackup\bin\support\
DESCRIPTION
The nbsu utility is a Veritas utility used to gather diagnostic information about the system on which the utility is run. By default, nbsu gathers appropriate diagnostic information based on the operating system and NetBackup environment.
The nbsu command always runs with a role. By default, when the user does not specify the role, the command determines the role and runs with that role. To skip the role determination process, specify the role with the -r option.
Starting with NetBackup 8.1.1 the command now generates the stderr.txt
file. This file is a summary of all the commands that failed with a non-zero exit status.
If there are no command line options specified, nbsu selects and runs all appropriate diagnostics and gathers all available information. You can run nbsu -help to view the usage.
By default, the nbsu command creates the output as a compressed file in the same directory where the nbsu executable is located. The format of the command output is:
NBSU_hostname_role_mmddyyyy_timestamp.extension
Example:
UNIX/Linux: NBSU_mylinuxvm_master_11072017_152100.tgz
Windows: NBSU_mywindowsvm_master_11072017_152100.cab
OPTIONS
- -d collector
Run only the specified collector or group. Specify in a comma-separated list. Veritas does not recommend using the -d and -s options together.
Use the command that is shown to collect operating system, NET, and NetBackup installation log diagnostics:
nbsu -d DEV,OS,NET,NBU_install_log
This command is the same as running the previous version of nbsu with the -no_nbu option and gathering any installation logs that exist. This option is useful for new client installation issues.
- -g collector_group
Only collect information from the specified group. You can use the -d option to achieve the same result. If you also use the -s option, the -g option is preferred.
Groups include:
OS: Operating system
NET: Network configuration
NBU: NetBackup
MM: Media manager
DEV: Operating system device information
Use the command that is shown to collect only the media manager group diagnostics:
nbsu -g MM
To collect all operating system group diagnostics and except for the OS_set diagnostic, use the command shown:
nbsu -g OS -s OS_net
- -h
Display the help information.
- -l
List the various collectors. This option does not collect any data. It merely lists all the available collectors.
nbsu -l NBU_adv_disk NBU_all_log_entries NBU_altnames . . . OS_config OS_process_list
- -nozip
Do not compress the NBSU output.
- -r NetBackup_role
Specify the NetBackup role for which you want to collect data. Specify multiple roles in a comma-separated list. Avoid using the -r option with the -d option. Accepted values for NetBackup_role are:
ma: NetBackup master server
me: NetBackup media server
cl: NetBackup client server
Use the command that is shown to specify the role NetBackup client:
nbsu -r cl
EXAMPLES
Example: Sample output from the nbsu command:
NBU Install path: C:\Program Files\Veritas\ mywindowsvm is a master server Collecting NBU_adv_disk info Collecting NBU_all_log_entries info Collecting NBU_altnames info Collecting NBU_auth_methods_names info Collecting NBU_available_media info Collecting NBU_backup_status info Collecting NBU_bpclient info . . . Collecting OS_filesystem info Collecting OS_process_list info Collecting OS_set info CAB file created successfully. Final NBSU output located at NBSU_mywindowsvm_master_01172018_085005.cab The execution time : 662.53431