Moodle
  1. Moodle
  2. MDL-1520

If scheduled backup fails, temp dir grows without limit...

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: None
    • Component/s: Backup
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_13_STABLE
    • Rank:
      10271

      Description

      If scheduled backup fails, temp dir are never deleted.

      To avoid disk becoming full, I'll add a call to backup_delete_old_data() function at the begining of the scheduled backup.

      This should delete all temp files older than 2 days...

        Issue Links

          Activity

          Hide
          Martin Dougiamas added a comment -

          From Eloy Lafuente (stronk7 at moodle.org) Thursday, 3 June 2004, 07:53 AM:

          NOTE: I've to remember to inform that changes are done in http://moodle.org/mod/forum/discuss.php?d=6548

          From Eloy Lafuente (stronk7 at moodle.org) Monday, 28 June 2004, 06:45 AM:

          Modified to delete temp files older than 4 hours (previously it was

          configured to 48 hours). Force to execute the clean before doing the

          backup itself. This should avoid the disk full of temp backup files

          issue.

          Show
          Martin Dougiamas added a comment - From Eloy Lafuente (stronk7 at moodle.org) Thursday, 3 June 2004, 07:53 AM: NOTE: I've to remember to inform that changes are done in http://moodle.org/mod/forum/discuss.php?d=6548 From Eloy Lafuente (stronk7 at moodle.org) Monday, 28 June 2004, 06:45 AM: Modified to delete temp files older than 4 hours (previously it was configured to 48 hours). Force to execute the clean before doing the backup itself. This should avoid the disk full of temp backup files issue.
          Hide
          Michael Blake added a comment -

          assign to a valid user

          Show
          Michael Blake added a comment - assign to a valid user

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: