Veritas NetBackup™ Commands Reference Guide
- Appendix A. NetBackup Commands
NBCCR — run the NetBackup consistency check repair (NBCCR) utility that repairs NetBackup database inconsistencies.
[-sra SRAFilename] [-emmpwd EMMpassword] [-version] [-help] [-volumedatabasehost volDB_host] [safe_pool_name safepoolname] [-kbfree freespace] [-use_reg_cmd [32 | 64]]
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\
The NBCCR command executes the NBCCR utility that is used to apply the repair actions that are related to tape. The repair actions are contained in a Suggested Repair Actions (SRA) file. This utility executes NetBackup commands to perform these repairs. Veritas Technical Support generates the SRA file based on an analysis of data that the NBCC command collects. The NBCCR command should be run only at the direction of Veritas Technical Support. It should be used only to apply repairs in an SRA file that Veritas Technical Support generates. The NBCCR command creates a history file containing the results of each repair action attempted.
The following items can cause inconsistencies: the improper use of command-line commands, attempts to restore corrupted data, or the improper decommission of a media server. A full file system can also cause inconsistencies.
For more about the NBCCR utility, see the NetBackup Troubleshooting Guide.
- -emmpwd EMMpassword
Specifies the name of the EMM password if different than the default password.
Veritas recommends that you use the -emmpwd option to supply the password for the EMM database. NetBackup no longer uses a default password at NetBackup versions 7.7 and later. Failure to supply the proper password can result in failed repairs, which can make the inconsistencies harder to repair.
Outputs the extended help information and exits.
- -kbfree freespace
Specifies the amount of free file system space that is required to run NBCCR. Only whole numbers are allowed. The default value is located in the help output.
This value overrides the default free space value of 1024000 (1024*1024).
To skip all free file system space checking, set this value to zero (0) if you run in a non-English locale environment.
- -sra SRAfilename
Specifies the suggested repair action (SRA) file name. The default name is the following: master_name.
NBCCA.SRA_timestamp.txt. The timestamp format is yyyymmdd_hhmmss.
- -safe_pool_name safefilename
Overrides the default safe pool name. The default is NBCC_SafePool)
Prints the version of the NBCCR utility and exits.
- -volumedatabasehost volDB_host
Only needed if the volume database host (or EMM host) is not the master server. If the volume database host is not the master, the volume database host needs to be specified here. If multiple masters use the same volume database host, it must be specified here. If there are multiple volume database hosts on one master, do the following: Ensure that all tapes that the SRA file references are for the same volume database host, which must be specified on the command line.
- -use_reg_cmd [32 | 64]
Enables the use of the Reg.exe utility to query the Windows registry. The version of Reg.exe that supports the /reg:32 or the /reg:64 command line parameters must be installed so that this option works correctly.
This option operates only on Windows systems.