Back Up Performance Center

Back up npc before an upgrade. To avoid losing valuable data, back up and archive npc regularly.
Back up
CA Performance Center
before an upgrade. To avoid losing valuable data, back up and archive
CA Performance Center
Back Up the
CA 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
    CA 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
    CA Performance Center
    services, using the following commands:
    service caperfcenter_console stop
    service caperfcenter_devicemanager stop
    service caperfcenter_eventmanager stop
    service caperfcenter_sso 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:
    If you leave out the optional password syntax from the following command, you are prompted for the password.
    /opt/CA/MySql/bin/mysqldump --routines -u root -p
    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 -u root -p
    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 the
    CA Performance Center
    services on the new system as follows:
    1. Start the SSO service:
      service caperfcenter_sso start
    2. Wait one minute, then start the event manager and device manager:
      service caperfcenter_eventmanager start
      service caperfcenter_devicemanager start
    3. Wait one minute, then start the console service:
      service 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
CA 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
Back Up Reports
Full PDF reports are temporarily saved for download.
Back up the following directory:
  • /opt/CA/PerformanceCenter/DM/repository
Back Up Script Notification Actions
If you have script notification actions, back up the following directory:
  • /opt/CA/PerformanceCenter/NotificationScripts