Using CLI tools for backup restore and recovery

This topic describes how to use command-line interface (CLI) tools to manually back up, restore, and recover IBM® Storage Defender Sentinel data. These procedures provide an alternative to using third-party backup applications.

Use CLI tools to perform the following tasks:
  • Back up IBM Storage Defender Sentinel data
  • Restore IBM Storage Defender Sentinel data
  • Recover IBM Storage Defender Sentinel data

Taking a backup of IBM Storage Defender Sentinel data

Use the following procedure to manually create a local backup of IBM Storage Defender Sentinel system configuration, database, and index data:
  1. Log in to the IBM Storage Defender Sentinel server as the root user
  2. Run the following command to create a backup in the default directory /opt/ie/backup:
    /opt/ie/bin/ie_app_backup

    The backup is created in the /opt/ie/backup directory. A log of the backup process can be found at /var/log/ie_backup.

You can copy the resulting backup directory to external storage or backup media for recovery.

Restoring a backup of IBM Storage Defender Sentinel data

Use the following procedure to restore IBM Storage Defender Sentinel system configuration, database, and index data to a target IBM Storage Defender Sentinel server:
  1. Stop or cancel any indexing jobs that are currently running.
  2. Log in to the target IBM Storage Defender Sentinel server as the root user.
  3. Copy the backup directory and its entire contents to the same path (/opt/ie/backup) on the target system.
Note: The IBM Storage Defender Sentinel version on the target server must match the version from which the backup was taken.

Recovering a backup of IBM Storage Defender Sentinel data

Note: If you are recovering the backup to a new server that has a different MAC address than the one from which the backup was taken, you need to create a support case with requesting the required override key needed to allow licensing to be valid. You need to include the MAC address from the original server and the new server in your request. The support team provides the override key.
Use the following procedure to complete the recovery process after a restore:
  1. If you are recovering to a server with a different MAC address, set the override key by using the following command:
    setdbenv engine id_override <override_key>
  2. Run the following command to restore from the default directory of /opt/ie/backup:
    /opt/ie/bin/restore_from_backup -s

After a successful recovery, IBM Storage Defender Sentinel data is recovered from the backup and a recovery log file is created at: /var/log/ie_backup/recovery.<timestamp>. The files from the source backup are automatically removed after a successful recovery.