Backup and restore

Force automated backup

Picture of Christopher Molnar
Force automated backup

We just updated and added several section to our classes. Is there anyway to force an automated backup off schedule? I want a snapshot of all courses.

Moodle 2.5.1


Average of ratings: -
Picture of Ken Task
Re: Force automated backup
Particularly helpful Moodlers

Check config of autobackups in Moodle UI to see modification setting.  That setting determines if a course is included in the autobackups if not modified in the last X days.  Might tell it to save +1 backup ... ie setting keep 2 might increase that by 1 and set to 3.

ssh into the server and cd to the moodlecode/admin/cli/ directory and execute:

php automated_backups.php

After the run, check your 'other directory' to see if backup did indeed complete (ie, there is an .mbz file for the course).

'spirit of sharing', Ken

Average of ratings: -