Integration Services
Call Us @ +91.9620800090

Moodle migration and up-gradation

As we know that moodle is one of the powerful learning management platforms. As the community is growing the threat of exploiters also increase. In this blog I will discuss about the up-gradation of moodle from 1.9 to 2.2. This is a major version upgrade. I will give you a step by step guide to a clean upgrade. Please follow the steps below and make sure you don’t miss anything.

  1. Put your current moodle site on maintenance mode.
  2. Backup everything
    1. Database in this case we have MySQL database and the command you have to use for the backup is  mysqldump  –u username  -ppassword dbname > dbname.sql
    2. Now backup the moodle data folder you can find the location form the config.php in the moodle root directory. Parameter is $CFG->dataroot  = ‘/opt/moodledata’;
    3. Execute tar zcvf moodledata.tgz /opt/moodledata
  3. Copy the new moodle version 2.2
  4. If moodle url is changed please execute this command sed -e 's/oldserver.com/newserver.com/g' dbname.sql > newdbname.sql
  5. Restore the database and moodle data and change the configuration file
    1. Change the config file $CFG->wwwroot
    2. Restore the database mysql  –u username  -ppassword dbname < dbname.sql (newdbname.sql in case the url is changed)
    3. Open the url http://servername
    4. An auto update script will run.

That’s it you have successfully upgrade the moodle from version 1.9 to 2.2. Now you can enjoy the new features of moodle 2.2

Leave a Reply

Testimonial

"I am very happy to work with Xeo as the value they provide on Open Source, helps me run our business with world class systems in a fraction of the price."
- Arpan, Director InfoSpace

Partners

Connect with us

Xeo Info Soft Pvt. Ltd.
Contact:Vikramjeet Singh
Mobile: +91-9620800090
Email: info@xeois.com
Bangalore, India