
TL;DR
A Moodle migration is due when you change servers, need a newer Moodle version or want to switch providers. Six steps make the move plannable: inventory, preparing the target environment, a test migration on staging, thorough testing, the final move in a maintenance window, and follow-up checks with monitoring. This way courses, users, submissions and grades arrive complete and downtime stays minimal.
Inhalt
When a Moodle migration is due
Hardly any learning platform stays on the same server for its entire life. Typical reasons for a Moodle migration are switching the hosting provider, outdated server environments with end-of-life PHP or database versions, merging several installations, or moving from an old Moodle version to a current one. Switching from self-hosting to managed Moodle hosting is technically a migration too.
The good news: with clean planning, a Moodle move is very manageable. At its core the platform consists of three parts that have to move together: the database, the moodledata directory and the code including plugins. This article walks you through the process in six steps.
The 6 steps of a Moodle migration
Step 1: Inventory. Record the Moodle version, PHP and database versions, installed plugins, theme customisations, integrations and data volumes. Check in particular whether all plugins are available for the target version. Missing plugin compatibility is the most common pitfall.
Step 2: Prepare the target environment. The new server gets the correct versions of PHP, database and web server according to the requirements of the target Moodle version. This is also the right moment to clear out legacy issues and set up the environment cleanly from the start.
Step 3: Test migration on staging. Copy the database, moodledata and code to a staging environment and run the complete move there once, including any version upgrades. This tells you the real duration and reveals problems before they affect learners.
Step 4: Test thoroughly. On the staging system, test login, courses, submissions, quizzes, grades, reports, integrations and all plugins. Involve subject-matter users; they spot missing content fastest.
Step 5: Final move in a maintenance window. Announce the time window, enable maintenance mode, transfer the final data state and switch the domain to the new environment. The old system initially remains available as a fallback.
Step 6: Follow-up and monitoring. After go-live, watch logs, performance and user feedback closely. Only when the new environment runs stably is the old one finally decommissioned.
Typical pitfalls in a Moodle migration
From experience we mainly see four risks: underestimated data volumes that blow the maintenance window, incompatible plugins without a replacement plan, forgotten cron jobs and integrations, and untested e-mail configuration on the new server. All four are reliably defused by the test migration in step 3. Also, never combine an upgrade with too many other changes at once. How to keep your platform permanently up to date afterwards is covered in our guide on Moodle updates and patching.
Frequently asked questions about Moodle migration
How long does a Moodle migration take?
Small platforms move in a few hours; large installations with hundreds of gigabytes need a longer maintenance window. The test migration provides the realistic number.
Is data lost during migration?
Not if the process is done properly. Courses, users, submissions and grades move completely. A consistent data state and the testing in step 4 are decisive.
Can I upgrade the Moodle version during the migration?
Yes, that is even common practice. Follow the defined upgrade paths and test the version jump on the staging environment.
What does a Moodle migration cost?
The effort depends on data volume, plugins and customisations. An overview of all cost factors is available in our guide Moodle costs at a glance.
Conclusion
A Moodle migration is not a leap in the dark but a plannable process: inventory, target environment, test run, testing, move, follow-up. If you take the test migration seriously, the final move holds no surprises.
Next steps
Start with the inventory and clarify plugin compatibility for your target version. Then set the schedule and the maintenance window.
Prefer not to shoulder the move alone? Learnteq plans and manages your Moodle migration from analysis to follow-up, on request with managed hosting afterwards.
Learnteq – Ihr Partner auf dem Weg zur digitalen Souveränität
Sie möchten Kosten senken, Risiko minimieren und volle Kontrolle über Ihre IT gewinnen?
Sprechen Sie uns an – gemeinsam gestalten wir Ihre souveräne, zukunftsfeste Digitalplattform.

