App Host disaster recovery

App Host disaster recovery involves using a backup file to re-establish your App Host if a disaster occurs on the system.

Before you begin

This feature is supported on App Host V1.15.0 and later versions.

To restore your App Host, you must complete a regular backup for the App Host.

To back up your App Host:
  1. Create a backup file for your App Hosts by entering the following command as the root user:
    sudo manageAppHost export -o <export_file>
  2. Enter 0 to backup all of your App Hosts. You can also input a list of App Hosts and back up in separate files.

The exported file stores the information for your App Hosts in .JSON format. Keep this file securely to use when recovering your App Host.

It is a recommended good practice to run the backup procedure whenever you are updating the App Host configuration, for example, if you are creating, deleting, or updating an App Host.

About this task

Complete the following steps to recover your App Host using the .JSON backup file.

Procedure

  1. Prepare a new system by following the installation instructions, as described in Install the App Host.

    The newly installed version of the App Host software must not be older than the old system.

  2. Copy the backup .JSON file for your App Host to the new system.
  3. Shut down the old system.
  4. On the new system, import the App Host using the following command:
    sudo manageAppHost import -i <export.json>
  5. Check the imported App Host using the following command:
    sudo manageAppHost showconfig
  6. Check the status on the App Host management user interface.