Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6815

Re: Moodle Data Relocation Disaster

$
0
0
by Colin Fraser.  

This is, I suggest, actually in the wrong forum, might be better off in General or Hardware and Performance forums.

I suspect your backup would not be helpful here, but simply put, likely the fastest and best option is to delete your entire Moodle code base. Keep the config.php file and database in its current location. Set up a folder structure in a web server on your laptop or desktop like how you want it to work, even use the same directory names if you want. Install a new Moodle, check that it works, then this can act as your test Moodle. Add a course or two, a user or two, an Admin and a couple of students and make sure permissions and everything else works. You can then copy the Test site into your server, putting things where you want them. Keep the copied config.php and edit it to reflect the server location, which you should be able to get from the original config.php file. Make sure your $CFG->wwwroot and $CFG->dataroot are pointed to the right locations. Moodle carries everything it needs to work internally and external dependencies are all, I believe, standard in the AWS web environment.

Someone else may have an even easier solution, but this has worked for me in the past. I would add the caveat, that I have never done this on an AWS server, but I am pretty certain there is not a lot of difference using a shared server like AWS so it should work.

Viewing all articles
Browse latest Browse all 6815

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>