Backup

AIR Console Backup Procedure

AIR Console can be backed up in 2 different ways:

  • by using the AIR Console user interface

  • by using manual commands

1. By using AIR Console User Interface

  1. Log in to AIR Console Web UI using a Global Admin Account.

  2. Navigate to Settings.

  3. Select General.

  4. Click on Backup Console.

  5. This will download a compressed file with the ABF extension (Backup File).

2. By Using Command Line Interface

In order to successfully back up from the command line, you must have enough space on your backup disk.

Before starting to back up, check and verify that there is enough disk space on the system, more than the size of the AIR Console installation directories (more details are specified below).

  • If you have a 2-Tier installation, you need to check the size of both the Application and Database installation directories.

  • To back up the Single Tier and 2-Tier installations, first, you need to connect to the AIR Console machines via SSH.

Check the size of the AIR Console installation directories by using the following commands:

du -sh /opt/binalyze-air

du -sh /opt/binalyze-air-db

Run the following command to check if there is more free space on the system than the size of the AIR Console installation directories:

df -h

Single-Tier

To back up the Single Tier setup, first, you need to connect to the AIR Console via SSH, then, run the commands given below.

The commands below simply perform the following: navigating to the AIR Console installation directory, stopping the Docker service, and then copying the directory.

cd /opt/binalyze-air

docker compose down

cp -r /opt/binalyze-air /opt/binalyze-air-backup

For 2-Tier Setup

Since there are two components in a 2-Tier setup, both the Application Server and Database Server have to be backed up separately.

To back up the 2-Tier setup, first, you need to connect to AIR Console Application and Database servers via SSH. Then, run the commands given below.

The commands below simply perform the following: navigating to the AIR Console installation directory, stopping the Docker service, and then copying the directory.

2-Tier Application Server

cd /opt/binalyze-air

docker compose down

cp -r /opt/binalyze-air /opt/binalyze-air-backup

2-Tier Database Server

cd /opt/binalyze-air-db

docker compose down

cp -r /opt/binalyze-air-db /opt/binalyze-air-db-backup

Last updated

Was this helpful?