Scheduled backup stopped working

Scheduled backup stopped working

Ben English གིས-
Number of replies: 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?
དཔྱ་སྙོམས་ཀྱི་སྐུགས་ཚུ།: -
In reply to Ben English

Re: Scheduled backup stopped working

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?

In reply to Céline Bissler

Re: Scheduled backup stopped working

Helen Foster གིས-
Core developers གི་པར Documentation writers གི་པར Moodle HQ གི་པར Particularly helpful Moodlers གི་པར Plugin developers གི་པར Testers གི་པར Translators གི་པར
Hi,

Firstly, please check MoodleDocs Backup FAQ. If your problems remain unresolved, please provide additional details. No doubt backup guru Eloy will come to your rescue. smile
In reply to Céline Bissler

Re: Scheduled backup stopped working

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
In reply to Céline Bissler

Re: Scheduled backup stopped working

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
In reply to Ben English

Re: Scheduled backup stopped working

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
In reply to Ben English

Re: Scheduled backup stopped working

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.