create_nbdb

create_nbdb — create NBDB database manually

SYNOPSIS

<nbu_dir_path>create_nbdb [-drop current_data_directory] [-sz small | medium | large] [-dba new_password] [-data data_directory] [-index index_directory] [-tlog log_directory] [-mlog log_mirror_directory]

On Windows systems, <nbu_dir_path> is <install_path>\NetBackup\bin\

DESCRIPTION

This command is used to create the NetBackup database (NBDB) manually. This command can be used to drop the existing NBDB database, and to recreate 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

OPTIONS

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.

-drop

Used to drop the existing NBDB database.

-sz small | medium | large

Changes the size of the pre-allocated database files. During installation, the default size that is used is small.

-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"
-dba new_password

Sets the password for the NBDB and the BMRDB databases for all DBA and application accounts. nbusql is the default password that is used during installation. To change only the password for an existing database, use nbdb_admin -dba new_password.

-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.

-tlog log_directory

Identifies the location of the transaction log.