1. Copy all files from the root of your Moodle installation and the moodle data directory.

#rsync -av -e ssh sourse/ username@newserver.com:/path/to/destination/

2. Dump your Moodle database and import it it new server

#mysqldump –allow-keywords –opt -uMySQL_USERNAME -pPASSWORD DATABASE | ssh username@newserver.com “mysql -uMySQL_USERNAME -pPASSWORD DATABASE”

3. Edit config.php to update all database access details, file paths and web location

Finally test everything and fix any link errors using http://newserver.com/moodle/admin/replace.php Thats all ;-)


Comments

Name (required)

Email (required)

Website

Speak your mind