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™ OpsCenter Administrator's Guide
  3. Administering OpsCenter
  4. About OpsCenter database administration
  5. Moving the OpsCenter database and database logs to a different hard disk
Veritas NetBackup™ OpsCenter Administrator's Guide

Moving the OpsCenter database and database logs to a different hard disk

To improve OpsCenter performance, OpsCenter database files and the log files that are associated with the OpsCenter database should be stored on separate hard disks. You can store the OpsCenter database files on one hard disk and the log files on another hard disk.

It is not recommended to store the database files on the hard disk that contains your operating system files.

You can specify a custom location (non-default location) for the OpsCenter database during OpsCenter installation. The default location for the OpsCenter database can also be changed after OpsCenter has been installed.

Use the following procedures to move the OpsCenter database and log files to a different hard disk. The first two procedures are for moving the OpsCenter database files on Windows or UNIX. The last two procedures are for moving the database log files.

To move the OpsCenter database to a different hard disk on Windows

  1. Stop all OpsCenter services. Enter the following command:
    INSTALL_PATH\OpsCenter\server\bin\opsadmin.bat stop
  2. Open the databases.conf file with a text editor like notepad from the following directory:

    INSTALL_PATH\OpsCenter\server\db\conf

    This file has the following contents:

    "INSTALL_PATH\OpsCenter\server\db\data\vxpmdb.db"
    					

    This path specifies the default location of the OpsCenter database.

  3. To move the database to a custom location like E:\Database, replace the contents of the file with the following:
    "E:\Database\vxpmdb.db"
    					

    Caution:

    Make sure that you specify the database path in double quotes. The directories in the specified path and also the databases.conf file should not contain any special characters like %, ~, !, @, $, &, ^, #, and so on. For example, do not specify a path like E:\Database%. Commenting out the path is also not allowed. For example, the following string is not allowed in the databases.conf file: #"E:\Database\vxpmdb.db"

    If you want to change the database path, you should replace the original path with the new one instead of commenting out the original path.

    If the databases.conf file contains characters or strings other than the database location, the database upgrade will not succeed.

    If you need a reference, you can create a backup copy of the original databases.conf file with a different file name.

    Save the databases.conf file.

  4. Copy the database files to the new location. Copy vxpmdb.db, symcOpscache.db, symcopsscratchdb.db, and symcsearchdb.db from INSTALL_PATH\OpsCenter\server\db\data to a location like E:\Database.
  5. Restart all OpsCenter server services.

    To restart all OpsCenter services, enter the following command:

    INSTALL_PATH\OpsCenter\server\bin\opsadmin.bat start

    You should run and monitor OpsCenter for a certain period after moving the database. If OpsCenter works as expected, you can delete vxpmdb.db, symcOpscache.db, symcopsscratchdb.db, and symcsearchdb.db from the default location (INSTALL_PATH\OpsCenter\server\db\data).

To move the OpsCenter database to a different hard disk on UNIX

  1. Stop all OpsCenter server processes. Enter the following command:

    <INSTALL_PATH>/SYMCOpsCenterServer/bin/opsadmin.sh stop

  2. The default location of the OpsCenter database is <INSTALL_PATH>/SYMCOpsCenterServer/db/data.

    Back up the OpsCenter database (<INSTALL_PATH>/SYMCOpsCenterServer/db/data) to some other location. Enter the following command:

    cp - R <INSTALL_PATH>/SYMCOpsCenterServer/db/data /backup/data

  3. To move the database to a custom location like /usr/mydata, always create a new directory named OpsCenterServer inside /usr/mydata by entering the following command:

    mkdir -p /usr/mydata/OpsCenterServer

    It is recommended that when you move the OpsCenter database to a custom location on UNIX, the database must be saved in a directory named OpsCenterServer inside the custom location: /CUSTOM_LOCATION/OpsCenterServer.

  4. To move the database to a custom location like /usr/mydata/OpsCenterServer, enter the following command:

    mv <INSTALL_PATH>/SYMCOpsCenterServer/db/data/* /usr/mydata/OpsCenterServer

  5. Remove the symbolic link that exists for the OpsCenter database. Enter the following command:

    unlink <INSTALL_PATH>/SYMCOpsCenterServer/db/data

  6. Create a symbolic link to /usr/mydata/OpsCenterServer in <INSTALL_PATH>/SYMCOpsCenterServer/db/data. To create a symbolic link, enter the following command:

    ln -s /usr/mydata/OpsCenterServer <INSTALL_PATH>/SYMCOpsCenterServer/db/data

  7. Restart all OpsCenter server processes by entering the following command:

    <INSTALL_PATH>/SYMCOpsCenterServer/bin/opsadmin.sh start

    You should run and monitor OpsCenter for a certain period after moving the database. If OpsCenter works as expected, you can delete vxpmdb.db and symcOpscache.db from /backup/data.

To move the database log files to a different hard disk on Windows

  1. Stop all OpsCenter server services. Enter the following command:
    INSTALL_PATH\OpsCenter\server\bin\opsadmin.bat stop
  2. Navigate to the following location for 32-bit and 64-bit systems respectively:
    INSTALL_PATH\OpsCenter\server\db\WIN32
    					
    INSTALL_PATH\OpsCenter\server\db\WIN64
    					

    Enter the following commands:

    dblog -t directory_path\vxpmdb.log database_path\vxpmdb.db

    where directory_path is the path where you want to store the database logs and database_path is the path where your database is located.

    This command moves the log file that is associated with the OpsCenter database to the new directory (directory_path). It is recommended to use vxpmdb.log as the name of the log file.

  3. Restart all OpsCenter server services.

    To restart all OpsCenter services, enter the following command:

    INSTALL_PATH\OpsCenter\server\bin\opsadmin.bat start

To move the database log files to a different hard disk on UNIX

  1. Stop all OpsCenter server processes. Enter the following command:
    <INSTALL_PATH>/SYMCOpsCenterServer/bin/opsadmin.sh stop
  2. Set the path of the LD_LIBRARY_PATH variable in the following manner:
    LD_LIBRARY_PATH=<INSTALL_PATH>/SYMCOpsCenterServer/db/
    lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH
  3. Navigate to the following location:
    <INSTALL_PATH>/SYMCOpsCenterServer/db/bin

    Enter the following commands:

    ./dblog -t directory_path/vxpmdb.log database_path/vxpmdb.db

    where directory_path is the path where you want to store your database log file and database_path is the path where the OpsCenter database is located.

    This command moves the log file that is associated with the OpsCenter database to the new directory (directory_path). It is recommended to use vxpmdb.log as the name of the log file.

  4. Restart all OpsCenter server processes by entering the following command:
    <INSTALL_PATH>/SYMCOpsCenterServer/bin/opsadmin.sh start

Feedback

Was this page helpful?
Previous

Starting and stopping the OpsCenter database

Next

Moving OpsCenter server to a different computer

Feedback

Was this page helpful?