MISP Handbook
繁中

MISP Backups, Upgrades, and Monitoring

Plan consistent backups, rehearse a database restore, define rollback conditions, and monitor worker and data health.

About 3 minLab MISP 2.5.53
In this chapter
After this chapter, you can

Define a backup scope, an upgrade exit plan, and a restore drill.

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

ComponentWhat to preserveHow to validate
MariaDBA consistent dump or supported backup from the compatible database version.Restore to a clean database and compare key counts and Event UUIDs.
Application settingsmisp_config, configuration overlays, and locally maintained settings.Compare required integrations, access settings, and paths.
Attachmentsmisp_files and any connected file storage.Retrieve known attachments and compare hashes.
Signing and encryptionmisp_gnupg, relevant keys, and protected .env configuration.Confirm recovery of protected or signed material with the expected keys.
Deployment definitionCompose 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.

From the lab directory
python3 backup-drill.py
Recorded database dump and restore
PASS 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

  1. Inventory the current deployment

    Record image versions, database, modules, integrations, and any custom settings.

  2. Review migration notes

    Read the MISP and Docker release notes. Check schema changes and prerequisites for the versions you are crossing.

  3. Rehearse on a restored copy

    Test user authentication, workers, authorized shares, export consumers, and expected read/write behavior.

  4. 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.

MISP releases · Docker project · Version guidance

Monitor service health and data freshness

Can users and clients connect?

Watch HTTP availability, latency, authentication errors, and required API endpoints.

Do jobs finish?

Watch workers, queue age, repeated job failures, and sync or import lag.

Will storage last?

Track database growth, uploads, free disk, backup age, and restore-test results.

Is intelligence still useful?

Check source update dates, false positives, stale values, and export scope.

MariaDB dump documentation · Official administration guide

Search the handbook