Changing the location of automatic backups

Last Updated : Jun 10, 2026 |

About this task

By default, Avaya Aura® Web Gateway stores automatic backups in the /var/log/Avaya/backup/ directory. You can change the location of backup files by modifying the tomcat.start.sh file. You cannot change the location from the Avaya Aura® Web Gateway web administration portal.

Existing automatic backup files remain in the location where they were created. does not move these files to the new location.

Note:
  • Avaya recommends that you use the default location for automatic backups.

  • After the Avaya Aura® Web Gateway upgrade, the location of automatic backups is changed back to the default location. You must repeat this procedure if you want to store automatic backups in another directory.

Before you begin

Enable EASG functionality. This is required to obtain the sroot user privileges, which are required to run commands in this procedure.

Procedure

  1. Log in to the Avaya Aura® Web Gateway CLI as an administrator using an SSH connection.
  2. To obtain the sroot user privileges, run the following command:
    su - sroot
  3. Run the following command to navigate to the directory that contains the tomcat.start.sh file:
    cd /opt/Avaya/CallSignallingAgent/<version>/CAS/<version>/service.d/
  4. Open the tomcat.start.sh in a text editor of your choice.
    For example:
    vi ./tomcat.start.sh
  5. In the CATALINA_OPTS="$CATALINA_OPTS -Dcom.avaya.cas.autobackup.dir=<DIRECTORY_NAME>" string, replace the existing <DIRECTORY_NAME> entry with the path to the directory where you want to store automatic backups.

    For example, if you want to store automatic backups in the home/admin/automatic_backups/ directory, modify the string as follows:

    CATALINA_OPTS="$CATALINA_OPTS -Dcom.avaya.cas.autobackup.dir=/home/admin/automatic_backups/"

  6. Save the file.
  7. Run the following command to restart Tomcat:

    svc tomcat restart