Case study · Cloud Migration

Migrating Mautic 5.2.9 to 7.1.2 across two majors, with 45,522 contacts live

Our own marketing automation platform had sat two major versions behind for the better part of a year. We moved it, in production, and published what went wrong on the way.

Work carried out on our own production systems. Published 2026-07-09.

Versions crossed
5.2.9 → 7.1.2
Contacts migrated
45,522
Doctrine migrations run
90, cleanly
Data corruption
None

The situation

What we did

Outcome

What it cost us to learn

A `mysqldump` command written with the `--databases` flag silently embeds DROP DATABASE, CREATE DATABASE and USE at the top of the dump file. Loading that dump into a side database to "inspect it safely" therefore dropped and overwrote the live one. The flag looks harmless and the command reports success. We publish this because it cost us thirty minutes and it will cost someone else considerably more.

Read the full technical write-up →

Want this done to your systems?

Start with cloud migration, or just tell us what is worrying you.

Get a Quote