Back Up Performance Center

Back up npc before an upgrade. To avoid losing valuable data, back up and archive npc regularly.
Back up
Performance Center
before an upgrade. To avoid losing valuable data, back up and archive
Performance Center
Back Up the
Performance Center
Create a backup archive of the current database anytime that you plan to reinstall or upgrade the software. We recommend that you create a backup archive on a weekly basis.
Follow these steps:
  1. Log in to the
    Performance Center
    host as 'root', or use the 'sudo' account that you configured for the installation.
  2. Estimate the size of the backup:
    du –hs MySql/data
  3. Stop all the
    Performance Center
    services, using the following commands:
    /etc/init.d/caperfcenter_eventmanager stop
    /etc/init.d/caperfcenter_devicemanager stop
    /etc/init.d/caperfcenter_sso stop
    /etc/init.d/caperfcenter_console stop
  4. Change to a directory where you want to save the database archive:
    cd /$
    Use any secure location with sufficient space for the backup directory.
  5. Create a MySQL dump of the database using the following command:
    /opt/CA/MySql/bin/mysqldump netqosportal > $backupDir/netqosportal.sql
    During the installation, you are prompted to 'Select a Location for the MySQL Data Directory'. The default location is /opt/CA/MySql/data.
  6. Create a MySQL dump of Event Manager data:
    /opt/CA/MySql/bin/mysqldump em > $backupDir/em.sql
  7. Compress these backup files to save space using the following commands:
    tar czvf netqosportal.tgz netqosportal.sql
    tar czvf em.tgz em.sql
  8. Remove the uncompressed MySQL dump files using the following commands:
    rm netqosportal.sql
    rm em.sql
  9. Start all the
    Performance Center
    services using the following commands:
    /etc/init.d/caperfcenter_eventmanager start
    /etc/init.d/caperfcenter_devicemanager start
    /etc/init.d/caperfcenter_sso start
    /etc/init.d/caperfcenter_console start
Back Up Single Sign-On Configuration Files
If you configure single sign-on, backup the configuration settings. Use rsync or another preferred method, such as a script, to back these files up automatically.
Back up the following files:
  • /opt/CA/PerformanceCenter/sso/start.ini
  • /opt/CA/PerformanceCenter/PC/start.ini
Back up the following directories:
  • /opt/CA/PerformanceCenter/sso/webapps/sso/configuration
  • /opt/CA/PerformanceCenter/sso/etc
  • /opt/CA/PerformanceCenter/sso/conf
  • /opt/CA/PerformanceCenter/PC/etc
  • /opt/CA/PerformanceCenter/PC/conf
If you have enabled SSL, back up the following files:
  • /opt/CA/PerformanceCenter/sso/start.d/ssl.ini
  • /opt/CA/PerformanceCenter/PC/start.d/ssl.ini
Back Up Custom Settings
Custom OpenAPI applications reside on the
Performance Center
host. If your deployment includes custom OpenAPI applications, back up the application folder:
  • /opt/CA/PerformanceCenter/PC/webapps/pc/apps 
If you use custom logos for your themes, back up the following files:
  • /opt/CA/PerformanceCenter/PC/webapps/pc/css/CA-Blue/images/customLogo
  • /opt/CA/PerformanceCenter/PC/webapps/pc/css/CA-Gray/images/customLogo