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

Make tgz backups standard

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.3
    • Fix Version/s: 2.9
    • Component/s: Backup
    • Testing Instructions:
      Hide
      1. Before integrating this issue, turn on enabletgzbackups
      2. Integrate this, run the upgrade, confirm that enabletgzbackups is removed from the config table
      3. Create a backup
      4. Download the file and open it with a hex tool like http://ridiculousfish.com/hexfiend/
      5. Confirm the file starts with #1F8B (gzip file marker)
      6. Restore the backup file and make sure it works
      7. Add $CFG->usezipbackups = true; to your config.php
      8. Create a backup
      9. Download the file and open it with a hex tool
      10. Confirm the file starts with #504B0304 (zip file marker)
      11. Restore the backup file and make sure it works
      Show
      Before integrating this issue, turn on enabletgzbackups Integrate this, run the upgrade, confirm that enabletgzbackups is removed from the config table Create a backup Download the file and open it with a hex tool like http://ridiculousfish.com/hexfiend/ Confirm the file starts with #1F8B (gzip file marker) Restore the backup file and make sure it works Add $CFG->usezipbackups = true; to your config.php Create a backup Download the file and open it with a hex tool Confirm the file starts with #504B0304 (zip file marker) Restore the backup file and make sure it works
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull Master Branch:
      MDL-49298-master

      Description

      I feel that tgz backups should be moved out of experimental and become standard. IMO the code is sound and in our testing fixes many many backup/restore problems.

      At our school we use backup/restore a lot, the zip system was always causing problems for us - timeouts, backups that wouldn't finish, corrupt files. Since we moved to tgz over a year ago, all of the problems went away.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                5 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/May/15