Name
dbbackup — This script backs up the OpsCenter database and the associated files.
SYNOPSIS
dbbackup <DB_BACKUP_DIR> [-v | -restore]
DESCRIPTION
The dbbackup script backs up the OpsCenter database files, database password file, and encryption key file .
OPTIONS
- DB_BACKUP_DIR
(Required) DB_BACKUP_DIR is the directory where the OpsCenter database files, database password file, and encryption key file are backed up to, or restored from. DB_BACKUP_DIR should be an absolute path.
- -v
Option to validate the database after backup
- - restore
Option to restore database, database password file, and the encryption key file from the backupDir to the respective database , database password file, and encryption key file directory.
Note:
It is strongly recommended that you change the password for the admin user account after you restore the OpsCenter database.
NOTES
On Windows, you perform backups with the dbbackup.bat batch file.
The backup script creates the following files in the backup directory: vxpmdb.db and vxpmdb.log
Data spaces are started when the main database is started; therefore, starting and stopping the data space file is not required.
EXAMPLES
The following command backs up the OpsCenter database, database password file, and encryption key file to the my_db_backups directory on Windows:
INSTALL_PATH\OpsCenter\server\bin\dbbackup.bat C:\my_db_backups
The following command backs up the OpsCenter database, database password file, and encryption key file to the my_db_backups directory on UNIX:
<INSTALL_PATH>/SYMCOpsCenterServer/bin/dbbackup.sh /my_db_backups