Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. Veritas NetBackup™ Administrator's Guide, Volume I
  3. Section V. Configuring backups
  4. About the NetBackup relational database
  5. Post-installation tasks
  6. Moving NBDB database files after installation
Veritas NetBackup™ Administrator's Guide, Volume I

Moving NBDB database files after installation

In the case of large databases, you can change the location of the database files or split the database files into multiple directories to improve performance.

Note:

Due to performance issues, NetBackup supports database files only on locally attached drives.

Note:

Run a catalog backup to back up NBDB and BMRDB both before and after moving the database files.

Moving the database files on Windows

To move the NBDB and the BMRDB database files on Windows

  1. Perform a catalog backup.
  2. Shut down all NetBackup services by typing the following command:

    install_path\Veritas\NetBackup\bin\bpdown

  3. Start the SQL Anywhere service by typing the following command:

    install_path\Veritas\NetBackup\bin\bpup -e SQLANYs_VERITAS_NB

  4. Use one of the following methods to move the existing data, index, and transaction log files:
    • Use the NetBackup Database Administration utility.

      See Moving the NetBackup database files.

    • Enter the following command:

      install_path\Veritas\NetBackup\bin\nbdb_move.exe

      -data data_directory

      -index index_directory -tlog log_directory

      You can run the nbdb_move command at any time because it does not drop the database and recreate it. Thus, all data is preserved.

      If a mirrored transaction log is in use, enter the following command:

      install_path\Veritas\NetBackup\bin\nbdb_move.exe -data data_directory

      -index index_directory -tlog log_directory

      -mlog log_mirror_directory

    Note:

    NetBackup does not require that the database directories are world-writable. Make sure that the new database directories (data_directory, index_directory, log_directory, and log_mirror_directory) have appropriate permissions so that the directories are not world-writable.

  5. Start all services by typing the following command:

    install_path\Veritas\NetBackup\bin\bpup

  6. Perform a catalog backup.
Moving the database files on UNIX

To move the NBDB and the BMRDB database files on UNIX

  1. Perform a catalog backup.
  2. Shut down all NetBackup daemons by typing the following command:

    /usr/openv/netbackup/bin/bp.kill_all

  3. Start the SQL Anywhere daemon by typing the following command:

    /usr/openv/netbackup/bin/nbdbms_start_stop start

  4. Use one of the following methods to move the existing data, index, and transaction log files:
    • Use the NetBackup Database Administration utility.

      See About the Move Database menu options.

    • Enter the following command:

      /usr/openv/db/bin/nbdb_move

      -data data_directory

      -index index_directory -tlog log_directory

      You can run the nbdb_move command at any time because it does not drop the database and recreate it. Thus, all data is preserved.

      If a mirrored transaction log is in use, enter the following command:

      /usr/openv/db/bin/nbdb_move -data data_directory

      -index index_directory -tlog log_directory

      -mlog log_mirror_directory

    Note:

    NetBackup does not require that the database directories are world-writable. Make sure that the new database directories (data_directory, index_directory, log_directory, and log_mirror_directory) have appropriate permissions so that the directories are not world-writable.

  5. Start all NetBackup daemons by typing the following command:

    /usr/openv/netbackup/bin/bp.start_all

  6. Perform a catalog backup.

More Information

About NetBackup master server installed directories and files

Feedback

Was this page helpful?
Previous

Changing the NetBackup database password

Next

Adding a mirrored transaction log

Feedback

Was this page helpful?