Since Proxus Edge is stateless, you only need to backup the Central Server.
What to Backup
- PostgreSQL Database: Contains configuration (Devices, Rules, Users).
- ClickHouse/TimescaleDB: Contains historical telemetry.
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
- Stop the stack.
- Restore the SQL dump.
- Start the stack.
- Edge Gateways will automatically reconnect and re-sync.