Additional create_nbdb options
In addition to using the create_nbdb command to create the NBDB database, you also can use it to perform the following actions. In each command, NB_server_name matches the name in server.conf.
Drop the existing NBDB database and recreate it in the default location by typing the following command:
On Windows: create_nbdb -drop[current_data_directory]
Provide the location of the current NBDB data directory, current_data_directory, if the default location is not used.
On UNIX: create_nbdb -drop
The location of the current NBDB data directory is retrieved automatically from the bp.conf file.
The -drop option instructs NetBackup to drop the existing NBDB database.
Drop the existing NBDB database and do not recreate by typing the following command:
On Windows: create_nbdb -db_server NB_server_name -drop_only[current_data_directory]
On UNIX: create_nbdb -drop_only
Provide the location of the current NBDB data directory, current_data_directory, if the default location is not used.
Drop the existing NBDB database and recreate it in the directories as specified by typing the following command:
On Windows:
create_nbdb -drop [current_data_directory] -data data_directory-index index_directory -tlog log_directory [-mloglog_mirror_directory]
On UNIX:
create_nbdb -drop -data data_directory -index index_directory -tlog log_directory [-mloglog_mirror_directory]
If the NBDB database files were moved from the default location by using nbdb_move, use this command to recreate them in the same location. Specify current_data_directory.
If the location of NBDB.db changed from the default, BMRDB.db must also be recreated. The BMRDB.db files must reside in the same location as the NetBackup database files.
More Information