Backing up Avaya Aura Web Gateway

Last Updated : Jun 10, 2026 |

About this task

Use this procedure to back up Avaya Aura® Web Gateway database and configuration files. This procedure applies to both standalone and cluster environments. In a cluster environment, you must back up files from all nodes in the cluster.

About this task

Note:

Avaya Aura® Web Gateway recommends that you run the Screen utility before running the backup command. If the SSH session terminates while the backup operation is in progress, you can re-connect to the Screen session and complete the backup operation.

Procedure

  1. Log in to the Avaya Aura® Web Gateway CLI as an administrative user.
  2. To start the Screen utility, run the following command:

    screen -S <SESSION_NAME>

    In this command, SESSION_NAME is a Screen session name of your choice. For example:

    screen -S AAWG_backup_session

    If the SSH session is reset when you create a backup, you can re-connect to the Screen session and complete the backup operation.

  3. To create a backup in a .tar.zip file, run one of the following commands:
    • app backup -t

    • app backup -t -P '<PASSWORD>'

    In the second command, <PASSWORD> is a password for protecting backup files. You must enclose the password with single quotation marks ('). If you do not enter a password or if the password does not comply with the password rules, Avaya Aura® Web Gateway prompts you to provide a password later. For information about supported characters, see Characters supported for Avaya Aura Web Gateway passwords.

    In a cluster environment, you can run this command on any node. It creates a backup for all nodes in the cluster.

    For example, to set the Password1234# password for your backups, run the following command:

    app backup -t -P 'Password1234#'
  4. If you did not enter a password for backups, then enter it when prompted.

    If the password does not comply with the password rules, Avaya Aura® Web Gateway prompts you to enter a new password.

  5. Re-enter the password to confirm it.
  6. Wait until the backup process is completed.
  7. Optional If the SSH session terminates while the backup operation is in progress, do the following to restore the session:
    1. Log in to the Avaya Aura® Web Gateway CLI as an administrator.
    2. To obtain the ID of the Screen session, run the following command:

      screen -ls

      Avaya Aura® Web Gateway displays the results in the following format:

      <SESSION_ID>.<SESSION_NAME>

      In this entry, <SESSION_ID> is the Screen session ID and <SESSION_NAME> is the Screen session name that you provided.

    3. To reattach to the appropriate session, run the following command:

      screen -rd <SESSION_ID>

  8. Ensure that the backup file with the name <DateTimestamp>_<node_short-hostname>.tar.zip is present in the administration directory, which is located at /home/admin.
  9. Copy the backup files to an external storage using a file transfer program, such as SFTP or SCP.
  10. In a cluster environment, repeat step 8 and 9 on all remaining nodes in the cluster.
  11. Store the password that you used for backup files in a safe place.

    Avaya Aura® Web Gateway requires this password when you restore the backups.

Next Steps

Complete the remaining steps to prepare for migration.