Skip to main content

General

Backup & Restore

Ensuring business continuity.

Since Proxus Edge is stateless, you only need to backup the Central Server.

What to Backup

  1. PostgreSQL Database: Contains configuration (Devices, Rules, Users).
  2. ClickHouse/TimescaleDB: Contains historical telemetry.
  3. Proxus-config.toml: The master configuration file.

Docker Backup Script

# Backup Postgres
docker exec -t proxus-postgres pg_dumpall -c -U proxus > dump_`date +%d-%m-%Y"_"%H_%M_%S`.sql

# Backup Config
cp ./configs/Proxus-config.toml ./backups/

Restore

  1. Stop the stack.
  2. Restore the SQL dump.
  3. Start the stack.
  4. Edge Gateways will automatically reconnect and re-sync.