Views:
Do not perform any operation on RPM packages during manual backup and rollback; otherwise, the RPM packages will be lost.

Procedure

  1. Check the IMSS 7.1 SP2 Patch 1 components installed on your server.
    The following table lists the detailed mapping relationships between component names and home folders.
    Component Name
    Home Folder
    imss-7.1
    $IMSS_HOME
    imsscctrl
    $IMSS_HOME
    Note
    Note
    This home folder exists only on the parent server.
    imsseuq
    $IMSS_HOME
    nrs
    $NRS_HOME
    ipprofiler
    $IPP_HOME
    Note
    Note
    If you do not know the home folder, run the following command:
    rpm -ql Components Name|tee 2|head -1
  2. Stop the cron service and back up IMSS 7.1 settings.
    • If your operating system is Red Hat 7 or higher, run the following commands:
      systemctl stop crond.service
      crontab -l >cronlist.bak
    • If your operating system is lower than Red Hat 7, run the following commands:
      service crond stop
      crontab -l >cronlist.bak
  3. Stop IMSS 7.1 message traffic for approximately 5 minutes.
  4. Stop all IMSS 7.1 processes using the following commands:
    $IMSS_HOME/imss/script/imssstop.sh stop
    $NRS_HOME/nrs/imssstop.sh
    $IPP_HOME/ipprofiler/script/imssstop.sh
  5. Back up the Postfix configuration files using the following command:
    tar cvf postfix_config.tar /etc/postfix
  6. Back up the home folder for all IMSS 7.1 components installed.
    tar cvf imss71.tar /$IMSS_HOME/imss
    tar cvf nrs.tar /$NRS_HOME/nrs
    tar cvf ipprofiler.tar /$IPP_HOME/ipprofiler
  7. If IMSS 7.1 is not installed in the default path and uses the internal database, back up the database using the following command:
    tar cvf default_path_folder.tar /opt/trend/imss
  8. Back up the RPM database-related data using the following command:
    tar cvf rpm.tar /var/lib/rpm
  9. Back up the IMSS 7.1 database.
    • If you use the IMSS 7.1 bundled PostgreSQL to manage the database, complete the following:
      1. Stop the PostgreSQL server using the following command:
        $IMSS_HOME/imss/script/dbctl.sh stop
      2. Back up the PostgreSQL data using the following command:
        tar cvf imssdb.tar /var/imss
    • If you use your own PostgreSQL server to manage the IMSS 7.1 database, perform either a cold physical backup or a hot logical backup.