Restore AIR Backup using the CLI

How to restore from an AIR backup (.abf) using the CLI

Follow these commands to restore your AIR backup using the CLI:

1. Copy the Backup File to the Console Container

docker cp FILE.abf binalyze-air-app-1:/air.backup

Replace FILE.abf with the name of your backup file.

2. Retrieve the AIR DB URIs (For Two-Tier Installations Only)

cat /opt/binalyze-air/.env

The URIs should look similar to:

PostgreSQL:

postgresql://air-data:[email protected]:5432/airdb

MongoDB:

mongodb://root:[email protected]

3. Run 'air-cli' to Restore the Backup

sudo docker exec -ti binalyze-air-app-1 /air-cli

Don't hesitate to get in touch with [email protected] if you have any problems or questions about the restoration process

Last updated