How to back up the OpsCenter database

Problem

Backing up OpsCenter in case of a disaster.

Error Message

Note: Regular file system backups are not sufficient for backing up the OpsCenter database.

You must schedule periodic hot backups for the OpsCenter database to avoid losing any important data.

Cause

OpsCenter is shipped with a database backup script that performs backup of the
database without interrupting its operations, which is referred to as hot backup.

Solution

Windows: "<INSTALL_PATH>\OpsCenter\server\bin\dbbackup.bat" "<DESTINATION_PATH>\MyDbBackupFolder"

UNIX: /opt/SYMCOpsCenterServer/bin/dbbackup.sh /my_db_backup_dir

Highly Recommended:
- Set up a "scheduled task" or "cron job" to run the dbbackup daily to a partition/file system.
- Create a policy to backup the directory where the database has been directed, schedule daily.

Along with the OpsCenter database, the user information that Symantec
Product Authentication Service manages must be saved in a directory or by
using a NetBackup backup policy.

Do one of the following to save the user profiles:
1,  Copy the folder
INSTALL_PATH\VERITAS\Security\Authentication\systemprofile to another folder.
2.  Create a NetBackup job policy to back up the authentication service systemprofile folder.

To save authentication service profiles on UNIX servers do one of the following to save the user profiles:
1.  Copy the folder /var/VRTSat to another folder.
2.  Create a NetBackup job policy to back up the authentication service profile folder.

In order to change the OpsCenter database password, back up the following password file (along with the backup of the OpsCenter database files
and authentication service profile folders).
path:
Windows: <INSTALL_PATH>\OpsCenter\server\config\db.conf
UNIX: /opt/SYMCOpsCenterServer/config\db.conf

It is also recommended to back up the various configuration files used by OpsCenter:

All contents of \INSTALL_PATH\OpsCenter\server\config 
All contents of \INSTALL_PATH\OpsCenter\server\db\conf .
All contents of \INSTALL_PATH\OpsCenter\gui\webserver\conf .
All contents of \INSTALL_PATH\OpsCenter\gui\Security 
The \INSTALL_PATH\OpsCenter\server\bin\OpsCenterServerService.xml file 
The \INSTALL_PATH\OpsCenter\gui\bin\OpsCenterGUIService.xml file. 
The \INSTALL_PATH\OpsCenter\gui\webserver\webapps\opscenter\WEB-INF\web.xml file 
The \ INSTALL_PATH\OpsCenter\agent\bin\OpsCenterAgentService.xml  (If the OpsCenter agent is installed.)
The \INSTALL_PATH\OpsCenter\viewbuilder\bin\OpsCenterViewBuilder.xml file (If ViewBuilder is installed.)

Note: \INSTALL_PATH refers to the location where OpsCenter is installed. 



REFERENCE: Symantec OpsCenter 7.X Administrator's Guide
 


 

 

Applies To

OpsCenter and OpsCenter Analytics 7.x

Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)