16.2. BackupThere's a saying in the computer industry: "There are two types of users, those who have lost data, and those that will." Eventually, a hard drive will fail or your database will collapse on your Moodle server and you will lose data. Fortunately, Moodle has an automated backup system that you can run on a nightly basis to export all the course materials for the entire site. The backup tool in Moodle actually runs the same functions as an individual course backup. It simply runs automatically on all of the courses on the site at a designated time. It's a good idea to schedule backups for when your server isn't usually busy. Running the backup tool over all the courses can be processor-intensive, so you shouldn't run it when there are a lot of students trying to access the server. There are two steps to setting up the backup. When you access the backup screen, the top section lets you set the types of material to be backed up. Again, the Moodle developers have done a good job of describing each setting. If you are running a nightly full-server backup (which I heartily recommend), I suggest you use the following settings:
Once you've set the backup settings, you'll need to set a backup schedule at the bottom of the screen. To set the backup schedule:
Once you've set up your backup sessions, Moodle will automatically create archives of all the courses on the server at the time you specified. Once the backup is complete, Moodle will send you an email describing the status of the backup. |