by Visvanath Ratnaweera.
Hi
I perfectly understand that you need to get your procedure scrutinized.
You wrote:
> Get a dump of your current database using MYPHPADMIN. Save it to a folder on your laptop.
Correct.
> Zip up your entire moodle site and dump that into the folder on your laptop.
You have to be careful here. There are two directory trees involved:
1. Moodle software (For example, everything in server/htdocs/moodle)
2. Moodle uploaded files (For example, server/moodledata)
http://docs.moodle.org/en/Upgrading_to_Moodle_2.4#Backup_important_data
> At this point you are insured that if things go fubar you can go back to 2.2.
Not until you have tried going back when the way forward is still uncut.
![wink wink]()
> Now delete everything on your site except for the config file.
I would delete the Moodle software (point 1. above) but leave uploaded files intact.
> Now upload the 2.4 moodle into your site.
Yes, that replaces the Moodle software you've deleted in the previous step.
> Visit your site, and moodle will upgrade the database.
Not yet. You need to copy the old config.php into the new Moodle directory first.
P.S. As Bret wrore earlier there is an alternative:
1. http://docs.moodle.org/22/en/Course_backup
2. Setup a new 2.4 site
3. http://docs.moodle.org/24/en/Course_restore
I perfectly understand that you need to get your procedure scrutinized.
You wrote:
> Get a dump of your current database using MYPHPADMIN. Save it to a folder on your laptop.
Correct.
> Zip up your entire moodle site and dump that into the folder on your laptop.
You have to be careful here. There are two directory trees involved:
1. Moodle software (For example, everything in server/htdocs/moodle)
2. Moodle uploaded files (For example, server/moodledata)
http://docs.moodle.org/en/Upgrading_to_Moodle_2.4#Backup_important_data
> At this point you are insured that if things go fubar you can go back to 2.2.
Not until you have tried going back when the way forward is still uncut.
> Now delete everything on your site except for the config file.
I would delete the Moodle software (point 1. above) but leave uploaded files intact.
> Now upload the 2.4 moodle into your site.
Yes, that replaces the Moodle software you've deleted in the previous step.
> Visit your site, and moodle will upgrade the database.
Not yet. You need to copy the old config.php into the new Moodle directory first.
P.S. As Bret wrore earlier there is an alternative:
1. http://docs.moodle.org/22/en/Course_backup
2. Setup a new 2.4 site
3. http://docs.moodle.org/24/en/Course_restore