Migrating from 2.6.5+ to 3.9.1 on Windows

Migrating from 2.6.5+ to 3.9.1 on Windows

by Christopher Palmer -
Number of replies: 4

Hey All, I've just inherited an old version of Moodle on a Linux box. I need to migrated all courses over to a Windows server. Is it as simple as exporting and importing courses?

Average of ratings: -
In reply to Christopher Palmer

Re: Migrating from 2.6.5+ to 3.9.1 on Windows

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
If you have a manageable number of courses and can do that then yes it is.

Obviously, going from Linux to Windows is a backward step tongueout
Average of ratings: Useful (2)
In reply to Christopher Palmer

Re: Migrating from 2.6.5+ to 3.9.1 on Windows

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
One could migrate the full Moodle instance, as described here https://docs.moodle.org/38/en/Moodle_migration (replace /38/ with your Moodle version). It works across platforms, as long as both the same database management system (MySQL/MariaDB, PostgreSQL, MS SQL server,...).

Much less demanding is course-by-course transfer: https://docs.moodle.org/en/Course_backup in the original server, download the backup to your local machine, https://docs.moodle.org/en/Course_restore in the new server.

Not immediately visible at the beginning is the fact the getting a new server running is a tiny fraction of the work, which you'll have in maintaining the system. That is where the "backward step" comes. If your the new platform gives you more headaches, you've walked backwards.
Average of ratings: Useful (1)
In reply to Visvanath Ratnaweera

Re: Migrating from 2.6.5+ to 3.9.1 on Windows

by Christopher Palmer -
Thanks, I will just import the classes
In reply to Christopher Palmer

Re: Migrating from 2.6.5+ to 3.9.1 on Windows

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
OK. It has the advantage that you don't have to upgrade the Moodle site from 2.6 to 3.9.

Also keep in mind that there is no downgrade path. If you need to migrate to another server in future, the same discussion here repeats (with different version numbers).
Average of ratings: Useful (1)