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

automated backup never completing

$
0
0

by Cathal O'Riordan.  

Hi all,

Has anyone experienced a situation where the automated course backup within Moodle fails to complete? I've begun running it manually using the admin/cli/automated_backups.php script and monitoring the progress in a bid to figure out why its not completing on our Moodle site. I should add that we have approximately 16,000 courses on our system. 

At some point during the process, the above script returns with "!!! error/backup_check_course_not_exists !!!". Looking at the code, this error comes from "backup_check::check_id", which checks for the existence of the course its about to backup:

if (! $DB->record_exists('course', array('id' => $id))) {
                    throw new backup_controller_exception('backup_check_course_not_exists', $id);
                }

I'm a bit puzzled as to how a course that's already been returned earlier from the db can be deemed not to exist later?? Has anyone experienced this problem or similar? Any help would be greatly appreciated.

regards,
Cathal.




Viewing all articles
Browse latest Browse all 6621

Trending Articles



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