Transferring moodle courses onto other machine

Re: Transferring moodle courses onto other machine

by chris dennison -
Number of replies: 0
Hi I recently had do just this - moving from a windows machine to a Linux machine. Using Course backup/restore would be daunting with 60+ courses.

I upgraded the windows machine to 1.7+ and built the Linux machine up to and including apache2, php5 and mysql. Made sure phpinfo worked.

Then I used mysql backup to dump the windows database. Copied the moodledata and php files from the windows machine to the Linux box. Restored the mysql from the command lie using 'source' command. Tweaked a couple of ini files for machine name/hostname/ip address and data file locations and it all worked perfectly.

Copying raw mysql files can catch you out because your copy may not be consistent within itself.

Hope this helps - Chris