Veritas NetBackup™ Commands Reference Guide
- Appendix A. NetBackup Commands
create_nbdb — create NBDB database manually
[-drop current_data_directory] [-sz small | medium | large] [-dba new_password] [-data data_directory] [-index index_directory] [-tlog log_directory] [-mlog log_mirror_directory] [-scripts db_scripts_directory] [-out db_scripts_output_directory] [-db_server |-server db_server_name] [-db_home pathname] [-staging staging_directory] [-noemm] [-force]
-upgrade [-scripts db_scripts_directory] [-out db_scripts_output_directory] [-db_server |-server db_server_name] [-db_home pathname]
-drop_only [current_data_directory] [-db_server |-server db_server_name] [-db_home install_path] [-force]
-config_only [-dba password] [-force]
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\
This command is used to create the NetBackup database (NBDB) manually. This command can be used to drop the existing NBDB database, and to re-create it by using the non-default parameters that were used during installation. A user can perform the following actions:
Change the default location of the data, index, and transaction log files.
Change the size of the pre-allocated database files.
Add an additional mirrored transaction log for increased database protection.
Create the catalog configuration file (
vxdbms.conf) from the information in the
Upgrade the NBDB.
Without any options, the create_nbdb command verifies the version of an existing database and is used during upgrades. If a database does not exist, it creates it by using default parameters.
vxdbms.conffile from the information available in the
- -data data_directory
Used to identify the directory of the main database files. If the pathname data_directory includes an embedded space, put the entire pathname in quotes. For example:
create_nbdb -data "Program Files\NetBackup\bin\data"
- -db_home install_path
Specifies the location of the database directory. The default directory is
- -dba new_password
A new, randomly generated password is set during NetBackup installation. Use this option to set the password for the NBDB and the BMRDB databases for all DBA and application accounts. To change only the password for an existing database, use nbdb_admin -dba new_password. The password needs to be an ASCII string. Non-ASCII characters are not allowed in the password string.
Drops the existing NBDB database and creates a fresh empty database.
Drops the existing NBDB database.
Performs the operation without user interaction.
- -index index_directory
Used to identify the directory of the index database files.
- -mlog log_mirror_directory
Used to create a mirrored log for increased database protection.
Indicates that this server is not the EMM server (used to upgrade the BMR server).
- -out db_scripts_output_directory
Specifies the destination directory where create_nbdb sends the output results of running the upgrade scripts.
- -scripts db_scripts_directory
Specifies the location of the database upgrade scripts.
- -server db_server_name
Specifies the name of the database server.
- -staging staging_directory
Specifies the location of the staging directory that is used during catalog backup and recovery.
- -sz small | medium | large
Changes the size of the pre-allocated database files. During installation, the default size that is used is small.
- -tlog log_directory
Identifies the location of the transaction log.
Upgrades the NetBackup database (NBDB).