Plan for the day the platform needs recovery
Write down what your team needs to recover, how much data loss is acceptable, how long you can be offline, and who is responsible for the procedure. Use those answers to choose backup frequency and to test recovery.
Capture a consistent set of data and settings
| Component | What to preserve | How to validate |
|---|---|---|
| MariaDB | A consistent dump or supported backup from the compatible database version. | Restore to a clean database and compare key counts and Event UUIDs. |
| Application settings | misp_config, configuration overlays, and locally maintained settings. | Compare required integrations, access settings, and paths. |
| Attachments | misp_files and any connected file storage. | Retrieve known attachments and compare hashes. |
| Signing and encryption | misp_gnupg, relevant keys, and protected .env configuration. | Confirm recovery of protected or signed material with the expected keys. |
| Deployment definition | Compose configuration, pinned versions, and environment notes. | Start the corresponding services in an isolated restore environment. |
Keep credential-bearing files encrypted and access-controlled. Coordinate the database and file backups so they represent the same recovery point. Track where backups are stored, when they expire, and which ones have been tested.
Rehearse a database restore
The lab drill writes a MariaDB dump to the backups volume and restores it into a fresh database named misp_restore_drill. It keeps the original database in place, compares row counts in six tables, and looks up the training Event by UUID.
python3 backup-drill.pyPASS dump: /backups/misp-20261127T105834Z.sql.gz (119322944 bytes, --single-transaction)
PASS restore: dump loaded into new database misp_restore_drill
PASS row counts match: events=6, attributes=14, objects=2, tags=84, organisations=2, correlation_values=1
PASS restored training event found by UUID: 99f6f54e…
This result covers the database component. A complete recovery drill must also restore configuration, attachments, and keys, then start the application and verify login, event access, and required jobs.
Set exit conditions before an upgrade
Inventory the current deployment
Record image versions, database, modules, integrations, and any custom settings.
Review migration notes
Read the MISP and Docker release notes. Check schema changes and prerequisites for the versions you are crossing.
Rehearse on a restored copy
Test user authentication, workers, authorized shares, export consumers, and expected read/write behavior.
Decide when to stop
Define health, error, and latency thresholds. Stop the rollout when a required check fails. A schema migration may require restoring the old database and files rather than downgrading the image alone.
Monitor service health and data freshness
Watch HTTP availability, latency, authentication errors, and required API endpoints.
Watch workers, queue age, repeated job failures, and sync or import lag.
Track database growth, uploads, free disk, backup age, and restore-test results.
Check source update dates, false positives, stale values, and export scope.
Your reading progress is saved in this browser.
This browser blocked storage. Reloading may clear this session’s progress.