Changing the location of automatic backups

Last Updated : Jun 10, 2026 |

About this task

By default, Avaya Aura® Device Services 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® Device Services web administration portal.

Existing automatic backup files remain in the location where they were created. Avaya Aura® Device Services 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® Device Services 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.

Procedure

  1. Log in to the Avaya Aura® Device Services CLI as an administrator using an SSH connection.
  2. Open the tomcat.start.sh file in the vi text editor with sudo privileges:
    sudo vi /opt/Avaya/DeviceServices/<version>/CAS/<version>/service.d/tomcat.start.sh
  3. 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/"

  4. Save the file.
  5. Run the following command to restart Tomcat:

    svc tomcat restart