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

Make tgz backups standard

XMLWordPrintable

    • MOODLE_28_STABLE
    • MOODLE_29_STABLE
    • MDL-49298-master
    • 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

      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.

            emerrill Eric Merrill
            emerrill Eric Merrill
            Sam Marshall Sam Marshall
            David Monllaó David Monllaó
            Damyon Wiese Damyon Wiese
            Votes:
            5 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.