]> git.mjollnir.org Git - moodle.git/commit
Scheduled backup improvements:
authorstronk7 <stronk7>
Fri, 24 Sep 2004 19:20:32 +0000 (19:20 +0000)
committerstronk7 <stronk7>
Fri, 24 Sep 2004 19:20:32 +0000 (19:20 +0000)
commit70bbfd318693e9f0822d50aac7f4247026682b31
tree5a0a9d44171aad9263514ad44999b7917a2661fc
parentc3cb1fdc25230a8e9df80acff459b5a210ec431e
Scheduled backup improvements:

- Old (>4 hour) directories are deleted at the beginning of the
  execution, so the disk full problem should be out!
- There are 2 types of errors:
    - Controlled errors: The backup process finish although something
        has been wrong.
    - Uncontrolled errors: The backup process dies (memory fault, apache
        problem, electric problem...:-)).
- Now scheduled backup is able to detect previous uncontrolled errors to
  avoid repeating the same course always. It'll be deferred to the next
  execution.
- Every time that a backup cycle has finished, admins will receive an email
  with the summary of the execution.
- The 'ERROR' text will be present in email subjects if something was wrong.

With this, all should be ok (I hope).

Merged from MOODLE_14_STABLE
backup/backup_scheduled.php
backup/log.php