Cette page existe aussi en français. Lire en français
Back up and stay resilient
What to back up together, and how Adekio relies on the high availability of your infrastructure.
What to back up
Three things, together:
- the database;
- the data folder, above all the
secret.keyfile: without it, saved credentials (SNMP, SSH, WinRM…) cannot be decrypted; - the configuration
config.yaml.
| Data folder | Configuration | |
|---|---|---|
| Windows | C:\ProgramData\Adekio |
C:\ProgramData\Adekio\config.yaml |
| Linux | /var/lib/adekio |
/etc/adekio/config.yaml |
| Docker | adekio-data volume |
environment variables |
The data folder also holds the measurements (tsdb), flows and logs: they are backed up with it.
pg_dump -Fc -U adekio adekio > adekio.dump # PostgreSQL
BACKUP DATABASE adekio TO DISK = 'D:\Backups\adekio.bak' -- SQL Server
Documents uploaded to Adekio (contracts, item files) are kept in the database: they are backed up with it.
Stay resilient
Adekio runs with a single active server per database: polling schedules, quotas and notification queues live in memory. Never start two servers on the same database, not even "on standby". Resilience relies on your infrastructure:
- Server: the hypervisor’s high availability (vSphere HA, Hyper-V cluster, Proxmox HA) restarts the machine on another host, disk included, and the service starts again on its own. For a disaster recovery site: machine replication (vSphere Replication, Hyper-V replica), with only one copy running at a time.
- Database: its usual high availability (PostgreSQL with Patroni; SQL Server Always On, the database address pointing to the listener). During a failover, pages and writes fail, then resume.
- Site probes: two collectors on the same location take over from each other (Enterprise edition): see Collectors.
While the server is stopped, charts keep a gap and pending notification groups are lost. Backups remain essential: high availability protects neither from a mistake nor from corruption.
Was this page helpful?
Thank you for your feedback. Tell us what is missing