I have been playing around with Moodle on a Red Hat server at home for a little while now. I have just signed up with a commercial hosting ISP and would like to copy/move all my moodle files from my box to the host server.
I 'think' that I have a good idea of what I need to do, but before I start FTP'ing and SQL'ing I was wondering if anyone has done this before ?
And if you have, is there any documentation ? If not, would it be worth me creating a step-by-step guide ?
I would also like to eventually run a number of totally distinct moodle instances on the one server. The 'wimps' way would be to just run seperately directory trees, but has anyone tried to seperate just the config files and share a common code base.
Question: " ...is there any documentation ? If not, would it be worth me creating a step-by-step guide " ?
Haven't seen any docs on this. Documentation is always worth it. Thanks David.
Question: " ...but has anyone tried to seperate just the config files and share a common code base "
I'd like to see how this turns out, too...
I have done this several times as follows:
1. Backup the existing moodle file (tar cvf moodle.tar moodle)
3. Backup the moodledata file ( tar cfv moodledata.tar moodledata)
FTP the files to the new server:
1. FTP moodle.tar to the web home directory and (tar xvf moodle.tar)
2. Create a moodle database in MYSQL and restore the backup database.
3. FTP moodledata to your home directory and (tar xvf moodledata.tar )
4. Go to the config.php file and update with the information of the new server.
And everything should work OK providing your new server meets the requirements as stated in the install documentation.