How to move a whole Moodle site from one server to another

How to move a whole Moodle site from one server to another

autor Arthur Longhurst -
Počet odpovědí: 2

I wish to move the existing Moodle test site running on my desktop PC (XP, EasyPHP 1.7) to a new server with Win 2003 & EasyPHP 1.7.

I want to move all the courses, users etc.

What's the best way to do this?

Průměr hodnocení: -
V odpovědi na Arthur Longhurst

Re: How to move a whole Moodle site from one server to another

autor Steve Hyndman -

Arthur,

I don't know if this the best or easiest way, but I've just done this by:

1. Installing a fresh copy of Moodle in the new location

2. Open the database in the "New" install and deleting all the tables

3. Export the database tables from the "Original" course

4. Import the database tables to the "New" location...see this thread for doing this through phpMyAdmin.

5. Copy the data directory from the original location to the new location.

That should do it.

Steve

V odpovědi na Steve Hyndman

Re: How to move a whole Moodle site from one server to another

autor Arthur Longhurst -

Thanks for the advice. In actual fact there's not too many courses so I've done it manually by backing up and restoring each inidividual course.

All the best - Art