Maintenance#
What has to be done to keep an Empowerment Center installation healthy over time: backups, updates, watching the logs and cleanup. Much of the cleanup ECenter does by itself; this part explains what is up to you and what you can adjust.
What ECenter does by itself#
| Task | How often | What it keeps | Configured in |
|---|---|---|---|
| Purge the audit | 1 h | 90 days for queries and jobs; 365 days for the rest | ecenter.audit.retention.* |
| Purge the job history | 1 h | 90 days | ecenter.operations.maintenance.job-history |
| Purge resolved operational alerts | 1 h | 365 days | ecenter.operations.maintenance.resolved-alerts |
| Summarize and purge the console's activity | 1 h | 3 days per minute, 92 per hour, 400 per day | ecenter.operations.activity.retention.* |
| Purge the runs of scheduled tasks | 15 s, with a valid license | 90 days | ecenter.scheduling.history |
| Purge the send history of subscriptions and alerts | 15 s, with a valid license | 90 days | ecenter.distribution.history |
| Delete expired sessions | 1 min | — | ecenter.security.sessions.* |
| Purge revoked or expired credentials | 1 h | 180 days | ecenter.security.credentials.retention |
| Purge embedding tokens and sessions | 15 min | 30 days | ecenter.embedding.retention |
| Keep the backups of workbooks, templates and metadata | On saving | The last 10 of today and the last one of each of the 7 previous days | ecenter.workbooks.backups-*, ecenter.portal.layouts.backups-*, ecenter.metadata.backups-* |
| Delete unfinished uploads of external data and layers | On expiry | 24 hours | ecenter.externaldata.upload-ttl, ecenter.maps.upload-ttl |
| Rotate the installation's signing key | 90 days | — | ecenter.security.installation-keys.rotate-every |
With several instances, these tasks are shared out by themselves: they are not done twice.
What is up to you#
| Task | How often | Page |
|---|---|---|
| Back up the own database (with the PostgreSQL or Oracle tools, depending on your engine) and check that it can be restored | The backup daily; the restore, from time to time | Backup and restore |
Keep ECENTER_SECRETS_KEY, .env and your own application.yml separately |
On installing and every time they change | Backup and restore |
| Update third-party images with their security patches | Every month | Upgrading |
| Update ECenter to a new version | When Action Ware publishes it | Upgrading |
| Renew the license | Before it expires (it warns 30 days ahead) | The license |
| Renew service credentials | Before they expire | Integrations |
| Watch disk, memory and alerts | Always | Operations |
| Review the logs | When there is a problem, or with a SIEM | Logs and cleanup |