mdrabble Posted July 22, 2015 Posted July 22, 2015 I am planning on backing up/exporting all moodle courses and importing them into a new moodle installation. Does anyone know of any way of backing up all moodle courses in one easy step? Cheers
unixman_again Posted July 22, 2015 Posted July 22, 2015 If you want to clone your moodle, the easiet method is to : dump the MySql databse copy the dump to the new server copy wwwroot to the new server copy moodledata to the new server if your new moodle has a different url, change any urls which are coded to the old url in the mysql dump (I use sed for this) create a MySql database on the new server import the dump change the moodle config file to reflect the new server Whenever I'm upgrading moodle, I do the above to that I can practice the upgrade first.
Guest WMITTech Posted July 22, 2015 Posted July 22, 2015 (edited) Unfortunately moodle is rubbish at this, as you either have to backup each course manually, which is a compete pain. I did develop a script that I can send you that backups everything and places on a remote drive. Changes can be made to your choosing. The other option is Unix_man, who got it pretty smack on. Hope this helps Edited July 22, 2015 by WMITTech
3s-gtech Posted July 22, 2015 Posted July 22, 2015 We use the mySQL dump, files and moodledata backup scripted with WinSCP to automatically backup our Moodle install in case the server dies and we need to build a new install. That should be all you need, alongside the config changes.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now