Scheduled backup stopped working

Scheduled backup stopped working

wót Ben English -
Anzahl Antworten: 6
I am using Moodle 1.5.3+ and have had the scheduled backup working perfectly. I uploaded a number of large files in my "Informatoin Technology Certificate II" course which seems to have caused my scheduled backup to hang for a few days now. (see below)

Last execution log

CourseTime takenStatusNext
St. Philip's Information & Communication Technology 30 Nov, 13:00 - 30 Nov, 13:00OK7 Dec, 19:10
Yr10 IST - Game Maker 30 Nov, 13:00 - 30 Nov, 13:02OK7 Dec, 19:10
yr12 Software Design and Development 30 Nov, 13:02 - 30 Nov, 13:02OK7 Dec, 19:10
Yr8 Technology - Game Maker 30 Nov, 13:02 - 30 Nov, 13:05OK7 Dec, 19:10
Information Technology Certificate II 30 Nov, 13:05 - 30 Nov, 07:40Unfinished7 Dec, 19:10
Computers & Information Technology 30 Nov, 07:40 - 30 Nov, 07:41OK7 Dec, 19:10
IST Web Development 30 Nov, 07:41 - 30 Nov, 07:41OK7 Dec, 19:10
Yr10 Game Maker 2006 30 Nov, 07:41 - 30 Nov, 07:41OK7 Dec, 19:10

A snippet of the cron.php file output is as follows:
Running backups if required...
        Checking backup status...
        RUNNING Scheduled backup seems to be running. Execution delayed
Backup tasks finished.

I went to manually backup the courses and they all worked excep the"IT cert II" course, which hanged and only half completed the backup. I then changed the variables page to allow the external zip and unzip programs to operate. This fixed the problem, and the course backed up perfectly (232.6Mb); however I am still unable to complete a scheduled backup. It seems as if moodle is waiting for the "IT cert II" course to be backed up before it will start a new scheduled backup.

Is there any way to reset the scheduled backups?
or another solution to this problem?
Als Antwort auf Ben English

Re: Scheduled backup stopped working

wót Céline Bissler -

I've the same problem since 1.5.3+ but no scheduled backups works : (in french)

  • Cours: 52
  • Ok: 0
  • Erreur: 52
  • Pas terminé: 0

Manually the backup for each course works ! any ideas?

Als Antwort auf Céline Bissler

Re: Scheduled backup stopped working

wót Céline Bissler -
for mor details :
12:54:43Start backup course Embryologie craniofaciale
12:54:43    Phase 1: Checking and counting:
12:54:43        checking parameters
12:54:43        calculating backup name
12:54:43        calculating modules data
12:54:43            assignment
12:54:43            chat
12:54:43            choice
12:54:43            forum
12:54:43            glossary
12:54:43            hotpot
12:54:43            journal
12:54:43            label
12:54:43            lesson
12:54:43            quiz
12:54:43            resource
12:54:43            scorm
12:54:43            survey
12:54:43            wiki
12:54:43            workshop
12:54:43        calculating users
12:54:43        calculating user files
12:54:43        calculating course files
12:54:43    Phase 2: Executing and copying:
12:54:43        checking temp structures
12:54:43End backup course Embryologie craniofaciale - ERROR!!
It stops during "Executing and copying" and manually no problem. I still searching
Als Antwort auf Céline Bissler

Re: Scheduled backup stopped working

wót Céline Bissler -
Found !!!

before moodle 1.5.3 I used "wget" in cron for backing up and now I'm using the "php" command. It's a problem of disk's writting right.
So the problem wasn't due to the new version of moodle.
Apologize for my silly question and for my english speaking.cool
Als Antwort auf Ben English

Re: Scheduled backup stopped working

wót Ben English -
I just noticed the date for the last backup is Tuesday, 28 November 2028, 12:06 PM from investigating the logs. This will probably mean that I will not be able to do a scheduled backup until november 2028. Is there a way to fix this date problem?  Thanks
Als Antwort auf Ben English

Re: Scheduled backup stopped working

wót Ben English -
Fixed my own problem:
ended up editing the database. Went to the mdl_backup_config table and changed the value backup_sche_running from 1 to 0.

Rescheduled the backup and it ran first go.