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

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

Arthur Longhurst發表於
Number of replies: 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?

評比平均分數: -
In reply to Arthur Longhurst

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

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

In reply to Steve Hyndman

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

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