Back Up Data Aggregator

To avoid losing your settings and custom certifications due to an unexpected failure, back up the Data Aggregator. Back up your Data Aggregator and Data Repository during specific events, such as before an upgrade.
capm310
To avoid losing your settings and custom certifications due to an unexpected failure, back up the Data Aggregator. Back up your Data Aggregator and Data Repository during specific events, such as before an upgrade.
You do not need to stop Data Repository, Data Collector, or Data Aggregator services when you back up Data Aggregator.
Backups are stored in the location that you specify, which can be on the Data Aggregator system or on a different backup host system.
Backup and restore into the same product version.
You must have root or sudo privileges to perform this task.
Follow these steps:
  1. Open a command prompt.
  2. Use the following command to create a backup directory in a secure location on the same or different backup host system:
    mkdir 
    DA_Backup
    • DA_Backup
      Specifies the directory path and name of the backup directory.
  3. Create subdirectories within DA_Backup using all the following commands:
    mkdir
    DA_Backup
    /deploy_backup
    mkdir 
    DA_Backup
    /cert_backup
    mkdir 
    DA_Backup
    /MIBDepot_backup
    mkdir 
    DA_Backup
    /CustomDeviceType_backup
  4. Run the following commands to back up the files on the DA:
    • This command backs up the deploy directory
      cp -r
      Data_Aggregator_installation_directory
      /apache-karaf-
      version
      /deploy/* DA_Backup/deploy_backup
    • This command backs up your certifications. Do not back up the local-jms-broker.xml and the README files from that directory.
      cp -r 
      Data_Aggregator_installation_directory
      /apache-karaf-
      version
      /certifications 
      DA_Backup/cert_backup
    • This command backs up all the custom MIBs in the MIBDepot directory:
      cp -r 
      Data_Aggregator_installation_directory
      /apache-karaf-
      version
      /MIBDepot/* 
      DA_Backup
      /MIBDepot_backup 
    • This command backs up all the custom device subtype xml files:
      cp
      Data_Aggregator_installation_directory
      /apache-karaf-
      version
      /custom/devicetypes/DeviceType.xml 
      DA_Backup
      /CustomDeviceType_backup/
    • Data_Aggregator_installation_directory
      Specifies the Data Aggregator install directory.
      Default:
      /opt/CA/IMDataAggregator