Force automated backup

Force automated backup

by Christopher Molnar -
Number of replies: 1

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: -
In reply to Christopher Molnar

Re: Force automated backup

by Ken Task -
Picture of 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