Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-43794

Temp dir cleaned before restore finished with new backup format

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.1
    • Fix Version/s: 2.6.2
    • Component/s: Backup, Files API
    • Labels:
    • Testing Instructions:
      Hide
      1. Go to restore the attached file.
      2. When you get to the first restore detail page, stop.
      3. Go to the backup folder in your tempdir (typically dataroot/temp/backup)
      4. Go into the most recent folder created
      5. Confirm the files (like moodle_backup.xml) have a file time that is (approximately) the current time.
      Show
      Go to restore the attached file. When you get to the first restore detail page, stop. Go to the backup folder in your tempdir (typically dataroot/temp/backup) Go into the most recent folder created Confirm the files (like moodle_backup.xml) have a file time that is (approximately) the current time.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:

      Description

      When using the new .tar.gz backup format, the extracted files retain their original creation time. This means that when restoring a backup older than a week, cron wipes out all the files.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    10/Mar/14