Backup

Binalyze AIR Console Backup Procedure

Binalyze AIR Console can be backed up in 2 different ways:

  • by using the Binalyze AIR Console user interface

  • by using the command line interface.

1. By using Binalyze AIR Console User Interface

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

  2. Navigate to the Backup Management section by clicking the Gear Button and selecting "Backup History" from the drop-down list.

  3. Get a backup of the system by clicking the "Backup Now" button in the top right corner.

  4. Download the backup file by clicking the Vertical Ellipsis Button under the "Actions" column and clicking Download from the drop-down list.

  5. This will download a compressed file with the ABF extension (AIR 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 Binalyze 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 Binalyze AIR Console machines via SSH.

Check the size of the Binalyze 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 Binalyze AIR Console installation directories:

df -h

For Single-Tier Setup

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

The commands below simply perform the followings: navigating to the Binalyze 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 Binalyze AIR Console Application and Database servers via SSH. Then, run the commands given below.

The commands below simply perform the followings: navigating to the Binalyze 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