Backup

Create a backup of your Network Performance Insight® backup contents to prevent data loss if there is a service outage.

Before you begin

  1. Ensure that the following services are up and running:
    • ZOOKEEPER
    • KAFKA
    • HDFS
    • Network Performance Insight

    You can start Network Performance Insight services through Ambari Server UI.

About this task

Explains how to backup Network Performance Insight backup contents.

Note: Resiliency might be better achieved with a combination of a periodic backup and a multi-node setup, for example, backup on a multi-node cluster environment.

Procedure

  1. Log in as root or netcool user.
  2. Change to the /<basecamp_Home>/basecamp-storage directory:
    For example,
    # cd /opt/IBM/basecamp/basecamp-storage

    <basecamp_Home> is the location where the basecamp packages are installed.

  3. Run the following command to display the usage for backup command.
    # ./bin/backup -help
  4. Run the following command to start the Network Performance Insight backup procedure.
    # ./bin/backup
    The backup script runs the following tasks in the background:
    • Creates and stores Network Performance Insight backup contents in the following HDFS file system directories:
      • Network Performance Insight storage data at /npi/work/storage/.snapshot/<BACKUP_VERSION>/*
        For example:
        /npi/work/storage/.snapshot/npi-1.3.0.0-<timestamp>/*
      • Domain objects at /npi/work/dmbackup/<BACKUP_VERSION>/*.json
        For example:
        /npi/work/dmbackup/npi-1.3.0.0-<timestamp>/snapshot.npi.cfg.domain_names-mgr.json
      Note: <BACKUP_VERSION> is the backup directory with the following naming format: npi-1.3.0.0-yyyyMMddHHmmss
    Note: Only the latest backup version is retained in the HDFS file system. All the older backup versions are deleted.
  5. Verify the /<basecamp_Home>/basecamp-storage/logs/basecamp-storage.log file for any issues during the backup procedure.

    All messages during backup procedure are logged in basecamp-storage.log file.